Rakesh Gupta created RANGER-5363:
------------------------------------
Summary: Filtering users by userRoleList parameter does not work
in /xusers/users API
Key: RANGER-5363
URL: https://issues.apache.org/jira/browse/RANGER-5363
Project: Ranger
Issue Type: Bug
Components: Ranger
Reporter: Rakesh Gupta
Assignee: Rakesh Gupta
When invoking the REST API
GET /service/xusers/users?userRoleList=ROLE_SYS_ADMIN
the userRoleList search filter is not applied as expected. The API returns all
users instead of filtering based on the specified role.
Steps to Reproduce:
1) Call the API with a specific role filter, for example:
GET /service/xusers/users?userRoleList=ROLE_SYS_ADMIN
2) Observe that the response includes users of all roles instead of only those
with the ROLE_SYS_ADMIN role.
Expected Behavior:
The API should return only users matching the specified userRoleList value.
Actual Behavior:
The API ignores the userRoleList parameter and returns all users.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)