Bug 1404428

Summary: "audit log" is logged with "new_value" instead of actual data when new user is created.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Greg Piatigorski <gpiatigo>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpatters, cpelland, dclarizi, gpiatigo, hkataria, jhardy, mmojzis, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1394593 Environment:
Last Closed: 2017-03-09 17:05:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1394593    
Bug Blocks:    

Comment 2 CFME Bot 2016-12-13 20:26:39 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/a12682b32f8cf722e5c7c26145a606b6cf41c439

commit a12682b32f8cf722e5c7c26145a606b6cf41c439
Author:     Jason Frey <fryguy9>
AuthorDate: Tue Nov 22 13:41:11 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Dec 13 14:27:37 2016 -0500

    Merge pull request #12786 from GregP/new_user_audit_log_values
    
    Fix Audit Log to record settings/values when creating new user
    (cherry picked from commit 2b75ba5bfbc6c9281a583ab17ba2c3ff039251bf)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1404428

 app/controllers/ops_controller.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comment 4 Matouš Mojžíš 2017-03-03 14:37:16 UTC
Verified in 5.6.4.2: audit.log: [----] I, [2017-03-03T09:36:11.343270 #3074:d76b94]  INFO -- Success: MIQ(OpsRbac.rbac_edit_save_or_add) userid: [admin] - [test] Record added ( name:[] to [test],  userid:[] to [test],  email:[] to [test] password:[*] to [*],  group:[] to [5])

Comment 6 errata-xmlrpc 2017-03-09 17:05:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0474.html