Skip to content

Commit

Permalink
Merge pull request #75 from Sage-Bionetworks/user-cleanse
Browse files Browse the repository at this point in the history
Structure users by team and remove some users
  • Loading branch information
thomasyu888 authored Sep 17, 2024
2 parents 046160a + 6685354 commit 010b0d3
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 34 deletions.
3 changes: 1 addition & 2 deletions admin/grants.sql
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
Expand All @@ -134,7 +133,6 @@ GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
Expand All @@ -159,6 +157,7 @@ GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER "[email protected]";
GRANT ROLE DATA_ANALYTICS TO USER AD_SERVICE;

// Leaders
Expand Down
79 changes: 47 additions & 32 deletions admin/users.sql
Original file line number Diff line number Diff line change
@@ -1,51 +1,66 @@
USE ROLE USERADMIN;

// Platform
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";


// Cancer Bio
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";

// ADTR
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
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 "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";


// Digital Health
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";


// Governance
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";

// CNB
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
Expand All @@ -70,8 +85,7 @@ CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
// governance
CREATE USER IF NOT EXISTS "[email protected]";

// LT
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
Expand All @@ -80,6 +94,7 @@ CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";

// finance
CREATE USER IF NOT EXISTS "[email protected]";
Expand Down

0 comments on commit 010b0d3

Please sign in to comment.