-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from Sage-Bionetworks/update-grants
Remove sage.portal_raw grants, and add users to GENIE_ADMIN
- Loading branch information
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]"; | ||
|
||
|