18
Make it possible to view raw RLS policy SQL in the Supabase Dashboard
Source: supabase/supabase#17330 · opened by @TomasHubelbauer
Hi!
I like that the Dashboard has a UI for creating policies from templates and that flow even previews the SQL that will be run to make (or amend) the policy, which is great!
But AFAICT it is not possible to view the SQL of the policy in the Dashboard once created? Barring the SQL editor of course where once could run a command to view all policies.
I wonder if a UI like this could be possible? It is the existing RLS policy section UI element but with an extra code block for the policy's SQL. Ideally with code highlighting of course, I skipped that for the purposes of this mock-up.
 the policy, which is great!
But AFAICT it is not possible to view the SQL of the policy in the Dashboard once created? Barring the SQL editor of course where once could run a command to view all policies.
I wonder if a UI like this could be possible? It is the existing RLS policy section UI element but with an extra code block for the policy's SQL. Ideally with code highlighting of course, I skipped that for the purposes of this mock-up.
![image](
I searched for "rls sql" but did not find an existing feature request.
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
Move RLS verification into the policy editor, not beside it
1 vote · 0 comments
Dashboard Enhancement: Add Edit and Delete actions for Database Views
3 votes · 0 comments
Enhancing Developer Experience with Client-side Raw SQL Queries
3 votes · 0 comments
No comments yet.