Grant permissions of webhooks table to omnivore_user

This commit is contained in:
Hongbo Wu
2022-05-27 17:32:18 +08:00
parent 5bb720c54d
commit 5c1c9fb6de
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
-- Type: DO
-- Name: webhook_permission
-- Description: webhook table permissions
BEGIN;
GRANT SELECT, INSERT, UPDATE, DELETE ON omnivore.webhooks TO omnivore_user;
COMMIT;

View File

@ -0,0 +1,9 @@
-- Type: UNDO
-- Name: webhook_permission
-- Description: webhook table permissions
BEGIN;
REVOKE SELECT, INSERT, UPDATE, DELETE ON omnivore.webhooks FROM omnivore_user;
COMMIT;