Skip to content

RLS for profiles (user read all, update self) #1885

@P-Kilian

Description

@P-Kilian

Description

Enforce RLS policies for the profiles table to allow read access for all users, but restrict updates to each user's own profile.

Suggested solution

Set up appropriate RLS policies in Supabase for the profiles table.

Alternative

Granular permissions can be added for more control as needed.

Additional context

Secures and restricts profile data modifications.

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions