Skip to content

Conversation

RakeshGuptaDev
Copy link
Contributor

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant