1

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

spierce7
  • 14,797
  • 13
  • 65
  • 106

1 Answers1

2

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.

richyen
  • 8,114
  • 4
  • 13
  • 28