Skip to content

Commit

Permalink
Give permissions to AD role for query synapse data warehouse
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Apr 1, 2024
1 parent b5f4085 commit e46fdd4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions admin/grants.sql
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,14 @@ GRANT ALL PRIVILEGES ON FUTURE TABLES IN SCHEMA AD
TO ROLE SYSADMIN;
GRANT CREATE SCHEMA, USAGE ON DATABASE SAGE
TO ROLE AD;
GRANT USAGE ON DATABASE SYNAPSE_DATA_WAREHOUSE
TO ROLE AD;
GRANT USAGE ON SCHEMA SYNAPSE_DATA_WAREHOUSE.SYNAPSE
TO ROLE AD;
GRANT SELECT ON FUTURE TABLES IN SCHEMA SYNAPSE_DATA_WAREHOUSE.SYNAPSE
TO ROLE AD;
GRANT SELECT ON ALL TABLES IN SCHEMA SYNAPSE_DATA_WAREHOUSE.SYNAPSE
TO ROLE AD;

-- GENIE database privileges
USE DATABASE GENIE;
Expand Down

0 comments on commit e46fdd4

Please sign in to comment.