FeatureFuel
5

Allow accessing message payload for realtime in RLS policies

Source: supabase/supabase#28218 · opened by @ferhatwi
Listening presence of users in a room can be done by this:

But this way, we can't be sure that USER_ID is indeed the id of the user that joins the presence channel, since we can't check if the value of the user key of payload equals auth.uid() in Row Level Security's insert policies.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests