Allow CatalogAdmin to list Principal Roles#3761
Allow CatalogAdmin to list Principal Roles#3761vignesh-manel wants to merge 0 commit intoapache:mainfrom
Conversation
|
Thanks for you contribution, @vignesh-manel ! Given that this is a major change to the Polaris RBAC system, I believe it deserves a discussion on the |
|
|
||
| // Only grant if not already granted | ||
| if (!alreadyHasCatalogRoleManager) { | ||
| metaStoreManager.grantUsageOnRoleToGrantee( |
There was a problem hiding this comment.
handle grant failures? perhaps logging or error out?
@dimas-b I have sent a mail to dev ML. Thanks |
|
Thanks, @vignesh-manel !
|
|
This PR got closed accidentally while rebasing branches, and unable to reopen it. So created a new PR #3852 Apologies for the inconvenience |
Implements automatic principal role listing for
catalog_adminusers via a new system-managedcatalog_role_managerrole. Fixes #363Implementation
catalog_role_managercreated at bootstrap withPRINCIPAL_ROLE_LISTprivilege (read-only)catalog_adminon any catalogcatalog_admingrants are removedLimitations
catalog_admin. If assigned after, revoke and re-grantcatalog_adminto trigger auto-grant.catalog_admingrants (requires manual grant or re-grant)CC: @collado-mike
Checklist
CHANGELOG.md(if needed)site/content/in-dev/unreleased(if needed)