Thread: fir for row level security

fir for row level security

From
PG Doc comments form
Date:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/ddl-rowsecurity.html
Description:

Cite
When multiple policies apply to a given query, they are combined using
either OR (for permissive policies, which are the default) or using AND (for
restrictive policies). This is similar to the rule that a given role has the
privileges of all roles that they are a member of.
end cite

Not clear for what is "this is". May be better "The default behaviour is
similar..."

Re: fir for row level security

From
Bruce Momjian
Date:
On Fri, Nov  1, 2024 at 10:23:25AM -0400, Bruce Momjian wrote:
> On Fri, Nov  1, 2024 at 11:04:53AM +0000, PG Doc comments form wrote:
> > The following documentation comment has been logged on the website:
> > 
> > Page: https://www.postgresql.org/docs/16/ddl-rowsecurity.html
> > Description:
> > 
> > Cite
> > When multiple policies apply to a given query, they are combined using
> > either OR (for permissive policies, which are the default) or using AND (for
> > restrictive policies). This is similar to the rule that a given role has the
> > privileges of all roles that they are a member of.
> > end cite
> > 
> > Not clear for what is "this is". May be better "The default behaviour is
> > similar..."
> 
> I see your point.  Attached is a patch which clarifies this.

Patch applied to master, thanks.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  When a patient asks the doctor, "Am I going to die?", he means 
  "Am I going to die soon?"