[ https://issues.apache.org/jira/browse/RANGER-4851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj resolved RANGER-4851. -------------------------------------- Fix Version/s: 2.5.0 Resolution: Fixed {noformat} commit d4607772bfc71a1c00d125f1c58596e574aa3d3c (HEAD -> ranger-2.5, origin/ranger-2.5) Author: Dhaval.Rajpara <dhavalrajpara1...@gmail.com> Date: Tue Jul 23 14:09:12 2024 +0530 RANGER-4851: fixed incorrect admin audit logs for user-group membership updates Signed-off-by: Madhan Neethiraj <mad...@apache.org> {noformat} > 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 > Fix For: 2.5.0 > > Attachments: > 0001-RANGER-4851-UI-Patch-Upon-editing-an-User-we-are-see.patch, > 0001-RANGER-4851-intermediate-patch.patch, createUser.png, snapshot1.png, > snapshot2.png, snapshot3.png, snapshot4.png, userLogs.png, xaUserGroup.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)