When a user with the moodle/user:loginas capability logs in as another user and performs any activity, this activity is not logged. It would be nice if it was logged and clearly denoted in the logs as "X user logged in as Y user".
This would probably mean rewriting the add_to_log function in some way - currently, it prevents logging if the userids are not the same.
|Assignee||Eloy Lafuente (stronk7) [ stronk7 ]||Martin Dougiamas [ dougiamas ]|
|Workflow||jira [ 26410 ]||MDL Workflow [ 43383 ]|
|Workflow||MDL Workflow [ 43383 ]||MDL Full Workflow [ 71781 ]|
|Assignee||Martin Dougiamas [ dougiamas ]||moodle.com [ moodle.com ]|
|Component/s||Logging [ 12433 ]|
|Fix Version/s||BACKEND [ 12582 ]|
|Link||This issue is duplicated by MDL-42205 [ MDL-42205 ]|
|Affects Version/s||2.5.2 [ 12664 ]|