ramackri opened a new pull request, #1394: URL: https://github.com/apache/ranger/pull/1394
## Summary - Map lowercase and colon-scoped authz role tokens in the trusted-proxy roles header (`authz-role-*`, suffix after `:`) to Ranger portal roles in `RangerHeaderPreAuthFilter`. - Merge header-derived roles into the login session and profile (`SessionMgr`, `UserMgr`), consolidate effective roles on `/user/profile` (`UserREST`), and fix Users/Groups module access for header-based admins (`XUserMgr.hasAccessToModule`). Jira: https://issues.apache.org/jira/browse/RANGER-5892 ## Test plan - [ ] `mvn -pl security-admin test -Dtest=TestRangerHeaderPreAuthFilter` - [ ] Header auth login with `authz-role-admin` and `namespace:authz-role-admin`; confirm session shows admin and Users list loads (no masked `userRoleList`) - [ ] Profile API returns a single consolidated role when DB + header yield multiple roles Made with [Cursor](https://cursor.com) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
