Team color read access
This commit is contained in:
parent
ac38a21f9a
commit
aee4604fed
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- Allow authenticated users to read team colors for dashboard display
|
||||||
|
-- This enables non-admin users to see team colors while keeping full team management admin-only
|
||||||
|
|
||||||
|
CREATE POLICY "Authenticated users can read team colors" ON public.teams
|
||||||
|
FOR SELECT
|
||||||
|
USING (
|
||||||
|
auth.role() = 'authenticated'
|
||||||
|
);
|
||||||
Loading…
Reference in New Issue
Block a user