 
 ------ User Subjects, Responses > Capabilities ---------------------------------
 
--- TODO Get latest response user x unit
+-- TODO (hidden capability) Get latest response user x unit
 
 -- TODO Get and set learning context
 

  using (user_id = current_setting('jwt.claims.user_id')::uuid);
comment on policy delete_notice on sg_public.notice
  is 'A user or admin can delete their own notices.';




grant select on table sg_public.suggest to sg_anonymous, sg_user, sg_admin;

-- Insert suggest: any via function.
-- TODO insert, when I insert a suggest, add a suggest_follower too

-- Update suggest: admin.
grant update on table sg_public.suggest to sg_admin;
