
DROP POLICY IF EXISTS "face-attendance auth upload" ON storage.objects;
CREATE POLICY "face-attendance auth upload" ON storage.objects
FOR INSERT TO authenticated
WITH CHECK (bucket_id = 'face-attendance');

DROP POLICY IF EXISTS "face-attendance auth read" ON storage.objects;
CREATE POLICY "face-attendance auth read" ON storage.objects
FOR SELECT TO authenticated
USING (bucket_id = 'face-attendance');
