----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72855/#review221842 -----------------------------------------------------------
Ship it! Ship It! - Mehul Parikh On Sept. 10, 2020, 1:30 a.m., Madhan Neethiraj wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/72855/ > ----------------------------------------------------------- > > (Updated Sept. 10, 2020, 1:30 a.m.) > > > Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay > Kulkarni, Mehul Parikh, Ramesh Mani, Sailaja Polavarapu, and Velmurugan > Periasamy. > > > Bugs: RANGER-2992 > https://issues.apache.org/jira/browse/RANGER-2992 > > > Repository: ranger > > > Description > ------- > > - _super_user is added to built-in access-types (permissions), along with > _any and _admin > - plugins can use the new access-type to verify if the user has super-user > privileges > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngine.java > 100d1f1aa > > agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java > 25c8d2251 > > agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyEngine.java > cc16655bf > > agents-common/src/test/resources/policyengine/test_policyengine_super_user_access.json > PRE-CREATION > > > Diff: https://reviews.apache.org/r/72855/diff/1/ > > > Testing > ------- > > - added unit tests to cover _super_user permission > > > Thanks, > > Madhan Neethiraj > >