Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46381

Logging should reference usernames and course shortcodes, not IDs, in the 'other' field

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_27_STABLE

      Description

      All reports, for example Site administration / ► Reports / ► Logs, should reference Usernames and course shortcodes instead of User IDs.

      User IDs are not shown in the Moodle GUI anywhere else. Normal users, including site administrators, do not have access or easy knowledge of understanding what User ID correlates with which Username.
      Especially those on Shared Hosting which do not have access to the database to check.

      Logs should instead read the username instead of the User ID and shortcodes instead of the course ID.

      For example:
      "The user with id '2' viewed the course with id '1'."
      Should be:
      "The user 'admin' viewed the course 'Home'."

      (Or perhaps, even better in course case - when it's ID '1'...
      "The user 'admin' viewed the frontpage.")

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            danbennett Dan Bennett
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: