Merge pull request #347 from omnivore-app/fix/allow-update-on-labels

Allow UPDATE on the labels table
This commit is contained in:
Jackson Harper 2022-03-30 11:11:21 -07:00 committed by GitHub
commit 1c4ca835d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,9 @@
-- Type: DO
-- Name: grant_update_permission_on_labels
-- Description: Add the update permission on labels
BEGIN;
GRANT UPDATE ON omnivore.link_labels TO omnivore_user;
COMMIT;

View file

@ -0,0 +1,9 @@
-- Type: UNDO
-- Name: grant_update_permission_on_labels
-- Description: Add the update permission on labels
BEGIN;
REVOKE UPDATE ON omnivore.link_labels FROM omnivore_user;
COMMIT;