Skip to content

Commit

Permalink
grant additional schema permissions to analysis role (#2503)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyHarwood authored May 3, 2023
1 parent 9ebb24e commit ea0692a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
GRANT CREATE TABLE TO [data_analysis_role]
-- allow data analysis role to create foreign keys and view object definitions
GRANT REFERENCES, VIEW DEFINITION ON SCHEMA ::[mtc_analysis] TO [data_analysis_role]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REVOKE CREATE TABLE TO [data_analysis_role]
REVOKE REFERENCES, VIEW DEFINITION ON SCHEMA ::[mtc_analysis] TO [data_analysis_role]

0 comments on commit ea0692a

Please sign in to comment.