RLS Problem #32514
Unanswered
BardiaAkbari
asked this question in
Questions
RLS Problem
#32514
Replies: 1 comment
-
You also have to meet select RLS for delete to work. If your select is same policy then likely you don't have a user session when you make the call. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this is my function in nestjs
and this is my RLS for deletion:
I know the id that I send is valid, but in response I get Exception error.
i don't know why it seems everything is perfectly fine
P.S. I try to ignore exception and see maybe it's deleted but no data is return but no, the row of that brand is still there.
what should I done?
P.S. When I disable RLS it is work
THANK YOU FOR YOUR HELPING.
Beta Was this translation helpful? Give feedback.
All reactions