Allow accessing message payload for realtime in RLS policies #28218
Unanswered
ferhatwi
asked this question in
Feature Requests
Replies: 1 comment
|
Bumping this |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Listening presence of users in a room can be done by this:
But this way, we can't be sure that
USER_IDis indeed the id of the user that joins the presence channel, since we can't check if the value of theuserkey of payload equalsauth.uid()in Row Level Security's insert policies.All reactions