Uploaded image for project: '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

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