Re: PostgreSQL - Mailing list pgsql-general

From Joseph Kennedy
Subject Re: PostgreSQL
Date
Msg-id CC59E8B4-02E1-45B1-8030-1FD44665CA7D@gmail.com
Whole thread Raw
In response to Re: PostgreSQL  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: PostgreSQL
List pgsql-general
> Wiadomość napisana przez Laurenz Albe <laurenz.albe@cybertec.at> w dniu 09.02.2023, o godz. 16:42:
>
> On Thu, 2023-02-09 at 09:54 +0100, Joseph Kennedy wrote:
>> As I wtote, I would like restrict access to sensitive or restricted information
>> for some users (eg. hide data of one or more clients for some database users).
>>
>> My question is: do you know some other solution to do that ?
>
> It is easy to hide data from users: use permissions or row level security.
>
> It is impossible to hide metadata from users, but we don't consider that a problem.
>
> If you want that, use a database or a database cluster per user.
>
> Yours,
> Laurenz Albe

I have one more question on this topic regarding Row Level Security.

I would like to hide some rows for users who should have full rights to database eg. create Index, drop table, create
tabeletc. but e.g.  create index can be done by owner or superusers but they are bypassed by Row Level Security.  

Is possible to use RLS for users who should have full rights to database ?








pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: ​jsonb @@ jsonpath operator doc: ​Only the first item of the result is taken into account
Next
From: Jason McLaurin
Date:
Subject: Very slow queries followed by checkpointer process killed with signal 9