fateh288 opened a new pull request, #311:
URL: https://github.com/apache/ranger/pull/311

   
   
   ## What changes were proposed in this pull request?
   De-duplicate the users/groups/roles during policy validation when policy 
created/updated via REST (duplicates are prevented via ranger UI already)
   
   
   
   ## How was this patch tested?
   Local Docker container with master branch
   Unzip the attached scripts folder - the folder contains some payloads which 
have duplicate users/groups/roles.
   Run `bash create-policies.sh "/service/public/v2/api/policy"` command and 
wait for the script to finish
   Login to Ranger Admin and check policies created in Hive - duplicate 
users/groups/roles are de-duplicated.
   [scripts 
3.zip](https://github.com/apache/ranger/files/15121965/scripts.3.zip)
   
   


-- 
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]

Reply via email to