-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73734/
-----------------------------------------------------------
(Updated Nov. 30, 2021, 1:36 p.m.)
Review request for ranger, Dhaval Shah, Dineshkumar Yadav, Jayendra Parab,
Abhay Kulkarni, Madhan Neethiraj, Mahesh Bandal, Mehul Parikh, Mugdha Varadkar,
Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-3528
https://issues.apache.org/jira/browse/RANGER-3528
Repository: ranger
Description
-------
Tried to create a test service in HDFS and provided below configs :
"default-policy.1.policyItem.1.group" and provided value as 'grp1'
The group provided in this config "default-policy.1.policyItem.1.groups" gets
created but its audit is not shown in the Admin Tab.
Same issue occurs when
1) used - "default.policy.groups" config during service creation
2) used - "ranger.default.policy.groups" config in ranger-admin-site.xml
Diffs
-----
security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java
cb57b9913
Diff: https://reviews.apache.org/r/73734/diff/1/
Testing
-------
RAN : mvn clean compile test verify install build succeeded.
Testing : Tested on local VM
Tested by providing the below configs and values:
1.) "default-policy.1.policyItem.1.group" in service config
2.) "default.policy.groups" in service config
3.) "ranger.default.policy.groups" config in ranger-admin-site.xml
In all the cases audits are shown for the created groups.
Thanks,
Mateen Mansoori