RakeshGuptaDev opened a new pull request, #791:
URL: https://github.com/apache/ranger/pull/791
## What changes were proposed in this pull request?
In the Atlas service, incorrect permissions are observed in some default
policies, particularly after upgrade.
Below are the policies name where we are seeing this issue
all – entity-type, entity-classification, entity
all – entity-type, entity-classification, entity, entity-business-metadata
all – entity-type, entity-classification, entity, entity-label
**Steps to reproduce**
Upgrade Ranger from 2.1 to master.
In the Ranger Admin UI, navigate to the Atlas policy listing page.
Open (view) any of the above-mentioned policies.
**Observed behavior:**
On the policy view page, unexpected permissions are displayed that are not
available during policy create or edit.
**This includes:**
The **entity-read permission** appearing in policies where it is not expected
**Classification-related permissions** such as:
entity-add-classification
entity-update-classification
entity-remove-classification{}
Specifically, **classification permissions are visible within the
entity-read policy.**
## How was this patch tested?
Verified that incorrect policy-item permissions are now moved to their
appropriate policies.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]