-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74820/
-----------------------------------------------------------
(Updated Jan. 6, 2024, 6:22 p.m.)
Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and
Ramesh Mani.
Changes
-------
Modified the patch to assign permissions for newly created ROLE_ADMIN_AUDITOR
users
Bugs: RANGER-4498
https://issues.apache.org/jira/browse/RANGER-4498
Repository: ranger
Description
-------
Newly created admin users do not have access to GDS module when they are
created.
This patch addresses the issue by adding permissions on the GDS module to the
newly created ROLE_SYS_ADMIN users
Diffs (updated)
-----
security-admin/db/mysql/patches/070-add-gds-perm.sql 2d1894cae
security-admin/db/postgres/patches/070-add-gds-perm.sql 15f0243b0
security-admin/src/main/java/org/apache/ranger/biz/XUserMgr.java d961bc50c
security-admin/src/main/java/org/apache/ranger/common/RangerConstants.java
4d03042fc
Diff: https://reviews.apache.org/r/74820/diff/2/
Changes: https://reviews.apache.org/r/74820/diff/1-2/
Testing
-------
Patch tested by building Ranger admin locally and deploying it in Docker
container.
Scenarios tested:-
1. Created a user of role ROLE_SYS_ADMIN, the newly created user had access to
GDS module
2. Created users of role ROLE_ADMIN_AUDITOR and ROLE_USER, and these users did
not have access to GDS module (expected behaviour).
Thanks,
Abhishek Patil