-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74820/
-----------------------------------------------------------
(Updated Jan. 30, 2024, 6:48 a.m.)
Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, and
Ramesh Mani.
Changes
-------
Updated the patch for the master branch
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 d202b2184
security-admin/src/main/java/org/apache/ranger/common/RangerConstants.java
4d03042fc
Diff: https://reviews.apache.org/r/74820/diff/3/
Changes: https://reviews.apache.org/r/74820/diff/2-3/
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 and ROLE_ADMIN_AUDITOR, the newly
created users have access to GDS module
2. Created users of role ROLE_USER, and the user did not have access to GDS
module (expected behaviour).
Thanks,
Abhishek Patil