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.

1 vote · 0 comments
Enhancing Developer Experience with Client-side Raw SQL Queries
3 votes · 0 comments
No comments yet.