Skip to content

Commit

Permalink
feat: ferry perm set
Browse files Browse the repository at this point in the history
  • Loading branch information
neilsong committed Jan 12, 2025
1 parent f852ef3 commit 11ebfef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions db/ferry-user.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- This only has to be done once to initialize the new user.
-- Run this in the ferry DB.

GRANT ALL ON SCHEMA public TO hasura;
GRANT ALL ON ALL TABLES IN SCHEMA public TO ferry;
GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO ferry;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON TABLES TO ferry;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON SEQUENCES TO ferry;

0 comments on commit 11ebfef

Please sign in to comment.