Moodle
  1. Moodle
  2. MDL-14805

Add logging of activity when a user is logged in as another user

    Details

      Description

      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.

        Gliffy Diagrams

          Issue Links

            Activity

            Matt Campbell created issue -
            Matt Campbell made changes -
            Field Original Value New Value
            Link This issue has a non-specific relationship to MDL-13854 [ MDL-13854 ]
            Eloy Lafuente (stronk7) made changes -
            Assignee Eloy Lafuente (stronk7) [ stronk7 ] Martin Dougiamas [ dougiamas ]
            Teresa Gibbison made changes -
            Attachment Loginas reporting.jpg [ 16826 ]
            Martin Dougiamas made changes -
            Workflow jira [ 26410 ] MDL Workflow [ 43383 ]
            Martin Dougiamas made changes -
            Workflow MDL Workflow [ 43383 ] MDL Full Workflow [ 71781 ]
            Petr Skoda made changes -
            Parent MDL-28443 [ 46008 ]
            Issue Type New Feature [ 2 ] Sub-task [ 5 ]
            Martin Dougiamas made changes -
            Assignee Martin Dougiamas [ dougiamas ] moodle.com [ moodle.com ]
            Aparup Banerjee made changes -
            Component/s Logging [ 12433 ]
            Michael de Raadt made changes -
            Link This issue has been marked as being related by MDL-36542 [ MDL-36542 ]
            Michael de Raadt made changes -
            Parent MDL-28443 [ 46008 ]
            Rank (Obsolete) 168150000000
            Issue Type Sub-task [ 5 ] Improvement [ 4 ]
            Michael de Raadt made changes -
            Epic Link MDL-28443 [ 46008 ]
            Michael de Raadt made changes -
            Fix Version/s BACKEND [ 12582 ]
            Labels triaged
            Michael de Raadt made changes -
            Link This issue is duplicated by MDL-42205 [ MDL-42205 ]
            Michael de Raadt made changes -
            Affects Version/s 2.5.2 [ 12664 ]
            Mark Nelson made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Won't Fix [ 2 ]
            Mark Nelson made changes -
            Link This issue is duplicated by MDL-28385 [ MDL-28385 ]
            Mark Nelson made changes -
            Resolution Won't Fix [ 2 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Mark Nelson made changes -
            Status Reopened [ 4 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]

              People

              • Votes:
                9 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: