the user running the overall query. Therefore, users who are using a given
policy must be able to access any tables or functions referenced in the
expression or they will simply receive a permission denied error when
- attempting to query the RLS-enabled table. This does not change how views
+ attempting to query the table that has row-level security enabled. This does not change how views
work, however. As with normal queries and views, permission checks and
policies for the tables which are referenced by a view will use the view
owner's rights and any policies which apply to the view owner.
NOBYPASSRLS
- These clauses determine whether a role is allowed to bypass row-security
+ These clauses determine whether a role is allowed to bypass row-level security (RLS)
policies. A role having the BYPASSRLS attribute will
be allowed to bypass row-security policies by setting
row_security to