1

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

1 Answer 1

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.

1
  • BYPASSRLS sounds like exactly what I want. Thank you!
    – spierce7
    Dec 2, 2022 at 18:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.