Allow UPDATE on the labels table

labels are updated when users change their colour or description.
This commit is contained in:
Jackson Harper
2022-03-30 10:53:35 -07:00
parent 6d405432af
commit 15cf0d07e9
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;