Also drop legacy teams_read policy to avoid recursion via team_members
cgen-28e4b6b3fec74f7d80a772e7f7cc494a
This commit is contained in:
parent
3a6bf08804
commit
8e17226fd7
1 changed files with 3 additions and 0 deletions
|
|
@ -33,4 +33,7 @@ for delete
|
|||
to authenticated
|
||||
using (user_id = auth.uid());
|
||||
|
||||
-- Drop legacy teams_read policy that referenced public.team_members (recursive)
|
||||
drop policy if exists teams_read on public.teams;
|
||||
|
||||
commit;
|
||||
|
|
|
|||
Loading…
Reference in a new issue