Skip to content

[DRAFT] Refactor PolarisAdminService to reduce code duplications among privilege granting related methods#1621

Closed
HonahX wants to merge 2 commits intoapache:mainfrom
HonahX:honahx_refactor_admin_service_authorize
Closed

[DRAFT] Refactor PolarisAdminService to reduce code duplications among privilege granting related methods#1621
HonahX wants to merge 2 commits intoapache:mainfrom
HonahX:honahx_refactor_admin_service_authorize

Conversation

@HonahX
Copy link
Contributor

@HonahX HonahX commented May 19, 2025

In PolarisAdminService we have a group of authorizePrivilegeOn* and grantPrivilegeOn*/revokePrivilegeOn* methods for privilege grant/revoke on catalog, namespace, table, view, etc. This PR reduce the code duplication merging them into authorizeGrantOnEntityOperationOrThrow and managePrivilegeOnEntityForRole.

@github-actions
Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Jun 19, 2025
@github-actions github-actions bot closed this Jun 24, 2025
@github-project-automation github-project-automation bot moved this from PRs In Progress to Done in Basic Kanban Board Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant