-
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 #113 from Sage-Bionetworks/snow-220-grant-tasks-to…
…-sysadmin [SNOW-220] Revert ownership of tasks to sysadmin
- Loading branch information
Showing
2 changed files
with
32 additions
and
23 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
admin/future_grants/V1.2.1__revoke_nonexistent_ownership.sql
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- These object types don't yet exist in this schema. | ||
-- We don't want to provide future grants unless there are preexisting objects. | ||
REVOKE OWNERSHIP | ||
ON FUTURE STAGES | ||
IN SCHEMA SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE | ||
FROM DATABASE ROLE SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE_ALL_ADMIN; | ||
REVOKE OWNERSHIP | ||
ON FUTURE VIEWS | ||
IN SCHEMA SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE | ||
FROM DATABASE ROLE SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE_ALL_ADMIN; | ||
REVOKE OWNERSHIP | ||
ON FUTURE TASKS | ||
IN SCHEMA SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE | ||
FROM DATABASE ROLE SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE_ALL_ADMIN; |
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