mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
fix: add admin RLS policy for live draw sessions
This commit is contained in:
1 parent
785e73d6c0
commit
458f18be03
1 file changed
+4
@@ -0,0 +1,4 @@
|
|||||||
|
-- Allow super admins to read live draw sessions
|
||||||
|
CREATE POLICY "Admins can view all drawings"
|
||||||
|
ON live_draw_sessions FOR SELECT
|
||||||
|
USING (is_super_admin());
|
||||||
Reference in new issue
Block a user