mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use user level security on labels update
This commit is contained in:
parent
57a45adb5d
commit
bb91396595
1 changed files with 1 additions and 1 deletions
|
|
@ -6,6 +6,6 @@ BEGIN;
|
|||
|
||||
CREATE POLICY update_labels on omnivore.labels
|
||||
FOR UPDATE TO omnivore_user
|
||||
WITH CHECK (true);
|
||||
USING (user_id = omnivore.get_current_user_id());
|
||||
|
||||
COMMIT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue