Reputation: 15746
Is there a way to allow a user to bypass RLS for all tables is Postgres?
Upvotes: 1
Views: 5278
Reputation: 9968
According to the documentation, it is possible for a user to be assigned the BYPASSRLS
attribute by another superuser. With this, a user can bypass RLS for all tables in Postgres.
And of course, superusers can bypass RLS be default.
Upvotes: 2