You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "dineshkumar-yadav (via GitHub)" <gi...@apache.org> on 2025/09/27 04:45:45 UTC
[PR] RANGER-5342: USER-role users with names similar to admin or keyadmin … [ranger]
dineshkumar-yadav opened a new pull request, #689:
URL: https://github.com/apache/ranger/pull/689
…can query those admin/keyadmin users.
## 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?
-- build with mvn clean install
-- tested below REST API working as expected
1. curl --insecure -k -v -u 'user:pass' -H 'Accept: application/json, text/plain, */*' '{hostname}:{port}/service/xusers/users?pageSize=10000&userRole=ROLE_SYS_ADMIN'
2. curl --insecure -k -u 'user:pass' -H 'Accept: application/json, text/plain, */*' '{hostname}:{port}/service/xusers/users?pageSize=10000&userRole=ROLE_KEY_ADMIN'
3. curl --insecure -k -v -u 'user:pass' -H 'Accept: application/json, text/plain, */*' '{hostname}:{port}/service/xusers/users?pageSize=10000&userRoleList=ROLE_KEY_ADMIN&userRoleList=ROLE_SYS_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 … [ranger]
Posted by "dineshkumar-yadav (via GitHub)" <gi...@apache.org>.
dineshkumar-yadav closed pull request #689: RANGER-5342: USER-role users with names similar to admin or keyadmin …
URL: https://github.com/apache/ranger/pull/689
--
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