Skip to content

Enable RLS by default for new tables #4991

Description

@inian

For tables created from the dashboard, RLS is disabled by default.

image

Enabling it by default will improve security. We need to balance this with users forgetting to add a RLS policy and not getting any data back from the API. A good compromise would be to have an easy way to create a select policy for anon users when creating the table.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfrontendRelated to Supabase Dashboardp1Priority 1securityPull requests that address a security vulnerability

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions