mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 09:50:01 +00:00
183fe0a93c
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8 lines
227 B
SQL
8 lines
227 B
SQL
CREATE POLICY "Board members can view association owners"
|
|
ON public.owners FOR SELECT
|
|
TO authenticated
|
|
USING (
|
|
association_id IN (
|
|
SELECT bm.association_id FROM public.board_members bm WHERE bm.user_id = auth.uid()
|
|
)
|
|
); |