-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: schemas only inherit valid privileges from db
When a new user-defined schema is created, it inherits privileges from its parent database. However, we were not restricting this to privileges which are valid for schemas. This meant that the schema could inherit inappropriate privileges like SELECT, which caused validation errors down the line. Now we filter out such privileges. Fixes #54662 Release note: None
- Loading branch information
1 parent
d67a35e
commit d882a51
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
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
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