Bug 1404427

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.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1394593 Environment:
Last Closed: 2017-02-27 19:15:00 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:
Bug Depends On: 1394593    
Bug Blocks:    

Comment 2 CFME Bot 2017-01-06 18:45:55 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/eb5a7172e043c7ebf23c9ff664f1ff8ee813772c

commit eb5a7172e043c7ebf23c9ff664f1ff8ee813772c
Author:     Jason Frey <fryguy9>
AuthorDate: Tue Nov 22 13:41:11 2016 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jan 6 13:40:24 2017 -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=1404427

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

Comment 4 Greg Piatigorski 2017-02-08 19:32:03 UTC
I think so, completely spaced out on this one after not seeing it merged for a bit. We also seem to have dupes of this now.

Comment 5 Matouš Mojžíš 2017-02-16 09:31:08 UTC
Verified in 5.7.1.2.
There are actual data in audit log:
INFO -- Success: MIQ(OpsRbac.rbac_edit_save_or_add) userid: [admin] - [test] Record added ( name:[] to [test],  group:[] to [5],  userid:[] to [testing] password:[*] to [*])

Comment 6 errata-xmlrpc 2017-02-27 19:15:00 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/RHSA-2017-0320.html