Skip to content

how to insert RLS to inser a group member? #26646

Discussion options

You must be logged in to vote

That would only work for insert. For select policy I assumed you were not limiting it. You can't do a select on the table itself in hte select policy without moving all the of the select code to a security definer function. It will keep calling itself over and over.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@jonz-tech
Comment options

@GaryAustin1
Comment options

@jonz-tech
Comment options

@GaryAustin1
Comment options

Answer selected by jonz-tech
@GaryAustin1
Comment options

@jonz-tech
Comment options

Comment options

You must be logged in to vote
1 reply
@GaryAustin1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants