> On April 26, 2021, 8:47 p.m., Abhay Kulkarni wrote: > > hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java > > Line 2932 (original), 2950 (patched) > > <https://reviews.apache.org/r/73300/diff/2/?file=2249187#file2249187line2950> > > > > Is this function needed any more? If not, can this be removed?
yes this is needed - Ramesh ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73300/#review222871 ----------------------------------------------------------- On April 26, 2021, 8:25 p.m., Ramesh Mani wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73300/ > ----------------------------------------------------------- > > (Updated April 26, 2021, 8:25 p.m.) > > > Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, > Mehul Parikh, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan > Periasamy. > > > Bugs: RANGER-3252 > https://issues.apache.org/jira/browse/RANGER-3252 > > > Repository: ranger > > > Description > ------- > > RANGER-3252:Inconsistent behavior in Ranger Role authorization within same > hive beeline session > > > Diffs > ----- > > > hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java > 5bd5c2da4 > > > Diff: https://reviews.apache.org/r/73300/diff/2/ > > > Testing > ------- > > - Within the Same Hive Session when Roles are updated for inclusion and > exclusion of user/group/roles, authorization failed for those users/ groups > and roles and this patch takes care of it > - verified by setting current role with "set role <rolename>" within the same > Hive session. > - verified show roles and show current roles based on inclusion and exclusion > of user / groups and roles. > > > Thanks, > > Ramesh Mani > >
