Team color read access

This commit is contained in:
Marc Rejohn Castillano 2026-03-09 17:52:55 +08:00
parent ac38a21f9a
commit aee4604fed

View File

@ -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'
);