Skip to content
Discussion options

You must be logged in to vote

Does Mathesar work with PG row level security naturally?

Hi @sai-sy! Yes, Mathesar automatically respects row-level security. A Mathesar user can only access data if:

  • They’re a collaborator on the database, and
  • The database role assigned to the collaborator has permission to view the relevant rows.

One thing to watch out for: superusers are always exempt from row-level security. That’s tripped me up a few times in the past. 😊

As for views, we don’t support them yet. There are some related issues (#4235, #2281) where we’ve started exploring how they might be displayed, but we don’t have concrete plans at the moment. Would you find views useful beyond security/access control? I’d love t…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@sai-sy
Comment options

@sai-sy
Comment options

@sai-sy
Comment options

Answer selected by sai-sy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants