mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Grant permissions of webhooks table to omnivore_user
This commit is contained in:
parent
5bb720c54d
commit
5c1c9fb6de
2 changed files with 18 additions and 0 deletions
9
packages/db/migrations/0084.do.webhook_permission.sql
Executable file
9
packages/db/migrations/0084.do.webhook_permission.sql
Executable 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;
|
||||
9
packages/db/migrations/0084.undo.webhook_permission.sql
Executable file
9
packages/db/migrations/0084.undo.webhook_permission.sql
Executable 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;
|
||||
Loading…
Reference in a new issue