feat: add CATALOG_READ_DATA privilege for data analyst read-only catalog access#3927
Open
Praneeth-Sagar-13 wants to merge 1 commit intoapache:mainfrom
Open
Conversation
…log access Introduces a new catalog-level privilege CATALOG_READ_DATA (code 103) that grants read-only access to all data and navigational metadata within a specific catalog. This is intended for data analyst principals who need broad read access across an entire catalog without any write or administrative capabilities. CATALOG_READ_DATA subsumes the following privileges when granted on a catalog: - NAMESPACE_LIST and NAMESPACE_READ_PROPERTIES (catalog navigation) - TABLE_LIST, TABLE_READ_PROPERTIES, and TABLE_READ_DATA (table access) - VIEW_LIST and VIEW_READ_PROPERTIES (view access) It is itself subsumed by CATALOG_MANAGE_CONTENT (the existing full-access catalog privilege), preserving the existing privilege hierarchy. Changes: - PolarisPrivilege.java: add CATALOG_READ_DATA enum constant (code 103) - PolarisAuthorizerImpl.java: register subsumption rules in SUPER_PRIVILEGES - polaris-management-service.yml: add CATALOG_READ_DATA to CatalogPrivilege enum - PolarisPrivilegeTest.java: update code-to-privilege mapping test Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
dimas-b
reviewed
Mar 3, 2026
Contributor
dimas-b
left a comment
There was a problem hiding this comment.
Thanks for your contribution, @Praneeth-Sagar-13 !
The changes LGTM 👍
Still, given this PR affects the Polaris RBAC model, I believe it would be wise for the sake of community awareness to have a "[DISCUSS]" thread for it on the dev ML before merging.
Would you be comfortable starting this email thread (you may want to subscribe to dev too)?
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces a new catalog-level privilege CATALOG_READ_DATA (code 103) that grants read-only access to all data and navigational metadata within a specific catalog. This is intended for data analyst principals who need broad read access across an entire catalog without any write or administrative capabilities.
CATALOG_READ_DATA subsumes the following privileges when granted on a catalog:
It is itself subsumed by CATALOG_MANAGE_CONTENT (the existing full-access catalog privilege), preserving the existing privilege hierarchy.
Changes:
Checklist
CHANGELOG.md(if needed)site/content/in-dev/unreleased(if needed)