Skip to content

Commit

Permalink
Restore USAGE future grant on STAGE object type for default permissio…
Browse files Browse the repository at this point in the history
…n model
  • Loading branch information
littleK0i committed May 9, 2024
1 parent d531573 commit a5f175d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.27.2] - 2024-05-09

- Restore `USAGE` future grant on `STAGE` object type for default permission model. `READ` grant is still not enough to access external stages properly.

## [0.27.1] - 2024-05-08

- Grant schema OWNERSHIP privilege to DATABASE OWNER role. Unfortunately, it seems to be the only way to allow external tools to DROP schemas.
Expand Down
2 changes: 1 addition & 1 deletion snowddl/parser/permission_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"FUNCTION": ["USAGE"],
"MATERIALIZED_VIEW": ["SELECT", "REFERENCES"],
"PROCEDURE": ["USAGE"],
"STAGE": ["READ"],
"STAGE": ["READ", "USAGE"],
"STREAM": ["SELECT"],
"TABLE": ["SELECT", "REFERENCES"],
"VIEW": ["SELECT", "REFERENCES"],
Expand Down
2 changes: 1 addition & 1 deletion snowddl/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.27.1"
__version__ = "0.27.2"

0 comments on commit a5f175d

Please sign in to comment.