mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 14:21:49 +03:00
doc: clarify text about combining row-level policies
Reported-by: splarv@ya.ru Discussion: https://postgr.es/m/173045909386.700.9231055113418242392@wrigleys.postgresql.org Backpatch-through: master
This commit is contained in:
parent
18ea6b3d0d
commit
cffca3665d
@ -2628,7 +2628,8 @@ GRANT SELECT (col1), UPDATE (col1) ON mytable TO miriam_rw;
|
|||||||
When multiple policies apply to a given query, they are combined using
|
When multiple policies apply to a given query, they are combined using
|
||||||
either <literal>OR</literal> (for permissive policies, which are the
|
either <literal>OR</literal> (for permissive policies, which are the
|
||||||
default) or using <literal>AND</literal> (for restrictive policies).
|
default) or using <literal>AND</literal> (for restrictive policies).
|
||||||
This is similar to the rule that a given role has the privileges
|
The <literal>OR</literal> behavior is similar to the rule that a given
|
||||||
|
role has the privileges
|
||||||
of all roles that they are a member of. Permissive vs. restrictive
|
of all roles that they are a member of. Permissive vs. restrictive
|
||||||
policies are discussed further below.
|
policies are discussed further below.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user