ranger
ranger copied to clipboard
RANGER-4385: Fix role filtering logic in RolePredicateUtil
What changes were proposed in this pull request?
Fix role filtering logic in RolePredicateUtil
How was this patch tested?
- Create a new user with role USER in Ranger Admin
- Create a role like this table
| Role Name | Users | Groups | Roles |
|---|---|---|---|
| role_second | test | -- | role_first |
- use this account to query through the role name parameter role_first