fix: auth issue due to org insert rls policy

This commit is contained in:
Rotimi Best
2024-07-18 21:06:26 +01:00
parent df7a5818bb
commit 4ab00923f1
2 changed files with 9 additions and 1 deletions
@@ -0,0 +1,8 @@
drop policy "User must be an admin to INSERT" on "public"."organization";
create policy "Enable insert for authenticated users only"
on "public"."organization"
as permissive
for insert
to authenticated
with check (true);