[ https://issues.apache.org/jira/browse/RANGER-4851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867771#comment-17867771 ]
Vishal Bhavsar commented on RANGER-4851: ---------------------------------------- While testing we found below case: 1) If the User say user1 is having an Group say group1 associated with it. Now if we delete this user1 then in audit admin logs we do not see user1 removed from group1 log. > Upon editing an User we are seeing some discrepancy in its Audit Admin logs > ---------------------------------------------------------------------------- > > Key: RANGER-4851 > URL: https://issues.apache.org/jira/browse/RANGER-4851 > Project: Ranger > Issue Type: Bug > Components: Ranger > Affects Versions: 2.5.0 > Reporter: Vishal Bhavsar > Assignee: Dineshkumar Yadav > Priority: Major > Attachments: > 0001-RANGER-4851-UI-Patch-Upon-editing-an-User-we-are-see.patch, > 0001-RANGER-4851-intermediate-patch.patch, snapshot1.png, snapshot2.png, > snapshot3.png, snapshot4.png > > > Upon editing an User we are seeing some discrepancy in its Audit Admin logs > in "ranger-2.5" branch. > Steps to repro: > # Create user (eg vbuser1) by entering all the details in user create form > except Group. > # Now edit the user and add any group (eg group1) to it and save. > # In Audit Admin tab we would see 3 corresponding logs entry for the above > edit operation. Refer snapshot1 > ## One log is of "User profile updated {*}vbuser1{*}" of Audit Type: User > Profile, upon clicking on it the modal opens which has "User Details: " table > empty. Refer snapshot2 > ## Second log is of "User updated {*}vbuser1{*}" of Audit Type: Ranger User, > upon clicking on it the modal opens with below observation. Refer snapshot3 > ### here "User Details: " table shows Password getting updated even when we > did not edit the password > ### in "Group: " table we are seeing groups numerical value instead of its > string name i.e group1. > ## Third log is of Audit Type: XA Group of Users , upon clicking on it modal > opens which is blank i.e no detail seen. Refer snapshot4 > Have attached snapshots for reference. -- This message was sent by Atlassian Jira (v8.20.10#820010)