You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "RakeshGuptaDev (via GitHub)" <gi...@apache.org> on 2025/10/07 13:19:51 UTC

[PR] RANGER-5342: USER-role users with names similar to admin or keyadmin can query those admin/keyadmin users. [ranger]

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

   ## 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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] RANGER-5342: USER-role users with names similar to admin or keyadmin can query those admin/keyadmin users. [ranger]

Posted by "dineshkumar-yadav (via GitHub)" <gi...@apache.org>.
dineshkumar-yadav merged PR #697:
URL: https://github.com/apache/ranger/pull/697


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org