spierce7
spierce7

Reputation: 15746

Allow a Postgres user to bypass RLS for all tables?

Is there a way to allow a user to bypass RLS for all tables is Postgres?

Upvotes: 1

Views: 5278

Answers (1)

richyen
richyen

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

Related Questions