Skip to content

Commit

Permalink
Fix (#147)
Browse files Browse the repository at this point in the history
* Update policy

* with check
  • Loading branch information
juchiast authored Oct 8, 2024
1 parent 7304ea7 commit e5bc36d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER POLICY "authenticated-update" ON nodes TO authenticated USING (auth.uid() = user_id);
1 change: 1 addition & 0 deletions docker/supabase/migrations/20241008144128_with_check.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER POLICY "authenticated-update" ON nodes TO authenticated USING (auth.uid() = user_id) WITH CHECK (true);

0 comments on commit e5bc36d

Please sign in to comment.