RANGER-5407: In Atlas Service for some of the default policies wrong permissions seen #749
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.
What changes were proposed in this pull request?
In Atlas Service for some of the default policies wrong permissions seen.
Below are the policies name where we are seeing this case
all - entity-type, entity-classification, entity, entity-business-metadata
all - entity-type, entity-classification, entity, entity-label
Steps to see this issue:
In Ranger admin UI go to atlas policy listing page and view the above mentioned policies. In policy view form we would see some permission like "entity-read" which is not seen when we create/edit the policy.
How was this patch tested?
Verification is complete: In both fresh and upgraded environments, the Ranger Admin UI correctly displays permissions for all Atlas policies (default and existing), confirming that unintended permissions, such as 'entity-read,' are no longer visible.