Skip to content

Commit

Permalink
Update role
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Oct 2, 2023
1 parent 9dd332d commit b163006
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions admin/roles.sql
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,19 @@ TO ROLE PUBLIC;

USE ROLE USERADMIN;
CREATE ROLE IF NOT EXISTS masking_admin;

use role securityadmin;
GRANT ROLE masking_admin
TO ROLE useradmin;
GRANT ROLE masking_admin
TO USER "[email protected]";
GRANT CREATE MASKING POLICY ON SCHEMA SYNAPSE_DATA_WAREHOUSE.synapse
TO ROLE masking_admin;
USE ROLE accountadmin;

GRANT ROLE masking_admin
TO USER "[email protected]";
USE ROLE ACCOUNTADMIN;

GRANT APPLY MASKING POLICY on ACCOUNT
TO ROLE masking_admin;
to ROLE masking_admin;

USE ROLE USERADMIN;

CREATE ROLE IF NOT EXISTS data_engineer;
USE ROLE SECURITYADMIN;
Expand Down

0 comments on commit b163006

Please sign in to comment.