Skip to content

RANGER-5794: Atlas permissions reappear in tag policies when enableTagBasedPolicies is disabled - #1225

Open
RakeshGuptaDev wants to merge 1 commit into
apache:masterfrom
RakeshGuptaDev:RANGER-5794
Open

RANGER-5794: Atlas permissions reappear in tag policies when enableTagBasedPolicies is disabled#1225
RakeshGuptaDev wants to merge 1 commit into
apache:masterfrom
RakeshGuptaDev:RANGER-5794

Conversation

@RakeshGuptaDev

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

After RANGER-4805, Atlas permissions (atlas:read, etc.) can still appear in tag policies and in x_access_type_def, especially after RANGER-3491 changed the service-definition bootstrap flow.

Cause:
The enableTagBasedPolicies check was only present in updateTagServiceDefForAccessTypes(), which is no longer called from the production code. The actual sync path (postCreate / postUpdate → updateTagServiceDefForUpdatingAccessTypes()) did not have this check, allowing Atlas permissions to be synced into the tag service-definition.

How was this patch tested?

Tested upgrade with J10063 patch; verified atlas:* absent from x_access_type_def and tag policy UI. Restarted Ranger Admin and updated Atlas service-def — Atlas permissions did not reappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant