aassa
-- Allow all authenticated users to see activity logs
-- This ensures everyone receives the Realtime event for the toast
CREATE POLICY "Allow authenticated users to read all activity logs"
ON public.activity_logs
FOR SELECT
TO authenticated
USING (true);
-- Ensure Realtime is enabled for both tables
ALTER TABLE activity_logs REPLICA IDENTITY FULL;
ALTER TABLE keeper_items REPLICA IDENTITY FULL;Created May 14th, 2026
Updated 5 months ago