fir for row level security

Started by PG Bug reporting formover 1 year ago3 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

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..."

#2Bruce Momjian
bruce@momjian.us
In reply to: PG Bug reporting form (#1)
Re: fir for row level security

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.

--
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?"

Attachments:

policy.difftext/x-diff; charset=us-asciiDownload+2-1
#3Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#2)
Re: fir for row level security

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?"