Skip to content

Commit

Permalink
Merge pull request #80 from Sage-Bionetworks/update-grants
Browse files Browse the repository at this point in the history
Remove sage.portal_raw grants, and add users to GENIE_ADMIN
  • Loading branch information
thomasyu888 authored Oct 26, 2024
2 parents fd430b3 + b830302 commit f4a696f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions admin/grants.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ TO ROLE GOVERNANCE;
-- public grants
GRANT USAGE ON DATABASE SAGE
TO ROLE PUBLIC;
GRANT USAGE ON SCHEMA SAGE.PORTAL_RAW
TO ROLE PUBLIC;
GRANT SELECT ON FUTURE TABLES IN SCHEMA SAGE.PORTAL_RAW
TO ROLE PUBLIC;

-- GENIE privileges
GRANT ROLE GENIE_ADMIN
Expand All @@ -42,6 +38,8 @@ GRANT ROLE GENIE_ADMIN
TO USER "[email protected]";
GRANT ROLE GENIE_ADMIN
TO USER "[email protected]";
GRANT ROLE GENIE_ADMIN
TO USER "[email protected]";

-- RECOVER privileges
GRANT ROLE RECOVER_DATA_ENGINEER
Expand Down
2 changes: 1 addition & 1 deletion admin/users.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ CREATE USER IF NOT EXISTS "[email protected]";
// NF
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "christina.conrad@sagebase.org";
CREATE USER IF NOT EXISTS "christina.parry@sagebase.org";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";

Expand Down

0 comments on commit f4a696f

Please sign in to comment.