3
Default RLS Policies.
Source: supabase/supabase#11792 · opened by @The-Code-Monkey
Feature request
Is your feature request related to a problem? Please describe.
I am setting up a CMS which automatically picks up new tables from the public schema and allows the user to edit the entries.
But my problem is that I have to create the same 4 RLS policies for each table.
Describe the solution you'd like
A way to specify default RLS policies for all tables, but these will be overwritten by Table specific RLS policies
Describe alternatives you've considered
There isn't really any alternatives apart from doing this manually every time I want to add a table. I guess maybe a clone button on RLS policies so you can copy them over easier.
Additional context
If you want any more info or access to the CMS that im building to see what i mean let me know.
Is your feature request related to a problem? Please describe.
I am setting up a CMS which automatically picks up new tables from the public schema and allows the user to edit the entries.
But my problem is that I have to create the same 4 RLS policies for each table.
Describe the solution you'd like
A way to specify default RLS policies for all tables, but these will be overwritten by Table specific RLS policies
Describe alternatives you've considered
There isn't really any alternatives apart from doing this manually every time I want to add a table. I guess maybe a clone button on RLS policies so you can copy them over easier.
Additional context
If you want any more info or access to the CMS that im building to see what i mean let me know.
No pledges yet. Be the first to back this.
Comments
Similar requests
Add Feature to Test + Debug Row Level Security Policies
47 votes · 0 comments
Better protection against failing to protect tables with RLS
1 vote · 0 comments
Disable RLS policies
1 vote · 0 comments
Make it possible to view raw RLS policy SQL in the Supabase Dashboard
18 votes · 0 comments
Extension to the current "Copy as Markdown" function
1 vote · 0 comments
No comments yet.