Skip to content

Commit

Permalink
[feature] Add schema grant CREATE TEMPORARY TABLE (Snowflake-Labs#147)
Browse files Browse the repository at this point in the history
Add schema grant CREATE TEMPORARY TABLE
  • Loading branch information
marcinef authored Mar 9, 2020
1 parent 595ac30 commit 4dd975e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/resources/privileges.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const (
privilegeCreateProcedure privilege = "CREATE PROCEDURE"
privilegeCreateExternalTable privilege = "CREATE EXTERNAL TABLE"
privilegeCreateMaterializedView privilege = "CREATE MATERIALIZED VIEW"
privilegeCreateTemporaryTable privilege = "CREATE TEMPORARY TABLE"
)

type privilegeSet map[privilege]struct{}
Expand Down
1 change: 1 addition & 0 deletions pkg/resources/schema_grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ var validSchemaPrivileges = newPrivilegeSet(
privilegeCreateProcedure,
privilegeCreateExternalTable,
privilegeCreateMaterializedView,
privilegeCreateTemporaryTable,
)

var schemaGrantSchema = map[string]*schema.Schema{
Expand Down

0 comments on commit 4dd975e

Please sign in to comment.