Skip to content

Commit

Permalink
Remove a couple non-applicable VIEW privileges from type-specific enu…
Browse files Browse the repository at this point in the history
…ms (#394)

Even though VIEW_CREATE is "about" views, as a privilege it's only applicable
to NAMESPACE or CATALOG since views are created under namespaces (and at the
catalog-level it means inheriting that for all child namespaces). This
will be consistent with how TABLE_CREATE is already declared.

Remove VIEW_READ_PROPERTIES from the TablePrivilege enum; this appears to
have been a simple typo.
  • Loading branch information
dennishuo authored Oct 22, 2024
1 parent 6850881 commit 02468e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/polaris-management-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,6 @@ components:
type: string
enum:
- CATALOG_MANAGE_ACCESS
- VIEW_CREATE
- VIEW_DROP
- VIEW_LIST
- VIEW_READ_PROPERTIES
Expand All @@ -1174,7 +1173,6 @@ components:
- TABLE_DROP
- TABLE_LIST
- TABLE_READ_PROPERTIES
- VIEW_READ_PROPERTIES
- TABLE_WRITE_PROPERTIES
- TABLE_READ_DATA
- TABLE_WRITE_DATA
Expand Down

0 comments on commit 02468e0

Please sign in to comment.