Project

General

Profile

Looking for logging-files of changes on user-accounts

Added by SMO IT almost 6 years ago

Hi all!

Due to some not documented changes on user authorizations, I would like to know, if there is a logging file, which tells me, who did when (time/date), wich changes on e particularly user account (i.e. adding admin-authorizations).

kind regards
Günter


Replies (1)

RE: Looking for logging-files of changes on user-accounts - Added by Martin Denizet (redmine.org team member) almost 6 years ago

Hello,
I will implement that in a plugin.
Please don't hesitate to ping me if I don't publish that this week.
However, note that you should have a trace of this in your production.log.
It should look like (redacted for readability):

Started PATCH "/users/5" for 127.0.0.1 at 2018-04-09 15:25:34 +0200
Processing by UsersController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"[...]", "user"=>{"login"=>"test", "firstname"=>"test", "lastname"=>"test", "mail"=>"", "language"=>"en", "admin"=>"1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "generate_password"=>"[FILTERED]", "must_change_passwd"=>"0", "mail_notification"=>"only_my_events", "notified_project_ids"=>[""]}, "pref"=>{"no_self_notified"=>"1", "hide_mail"=>"1", "time_zone"=>"", "comments_sorting"=>"asc", "warn_on_leaving_unsaved"=>"1", "textarea_font"=>""}, "commit"=>"Save", "id"=>"5"}
[...]
SQL (0.3ms) UPDATE `users` SET `admin` = 1, `updated_on` = '2018-04-09 15:25:34' WHERE `users`.`id` = 5

Cheers,
-Martin

    (1-1/1)