how to build “link share” feature with RLS?
I want to build link share feature. That is, the row can be read only
if
auth.uid()=row’s profile id
or
Row is read by shared link.
How can i implement “Row is read by shared link” feature in RLS policy? Or is there any other way to implement this feature?
if
auth.uid()=row’s profile id
or
Row is read by shared link.
How can i implement “Row is read by shared link” feature in RLS policy? Or is there any other way to implement this feature?