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

   
   ## What changes were proposed in this pull request?
   
   This change will prevent users with the USER role from fetching details of 
roles other than USER.
   
   
   ## How was this patch tested?
   
   Built the project using: mvn clean compile package install
   
   Validated functionality by testing the following REST APIs, which worked as 
expected:
   
   curl --insecure -k -v -u 'user:pass' -H 'Accept: application/json, 
text/plain, /' 
'{hostname}:{port}/service/xusers/users?pageSize=10000&userRole=ROLE_SYS_ADMIN'
   
   curl --insecure -k -u 'user:pass' -H 'Accept: application/json, text/plain, 
/' 
'{hostname}:{port}/service/xusers/users?pageSize=10000&userRole=ROLE_KEY_ADMIN'


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