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

Log changes in configuration settings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Administration, Logging
    • Labels:
    • Environment:
      All

      Description

      Original description: Log could record all admin activities.

      Trigger an event from inside set_config() function. It will cover the most of the admin actions but still not all. Follow the rest in Epic MDL-45773
      In this issue make sure that changes in "Frontpage settings" are also logged - they are stored in 'course' table and not in 'config'

      Note that there is an existing function add_to_config_log() that inserts a record in table config_log on SOME changes of configuration settings. The contents of the table is shown in report_configlog. To avoid duplication of data in log tables I would recommend to deprecate this function and adjust report_configlog. This is open for discussion.
      When making decision take into account MDL-40224 - users want to see both changes to administrative settings AND role assignments in one report. It can be possible either if we record both in config_log or retrieve both from standard log. Also see MDL-45888, filter_set_global_state() inserts records in config_log as well

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              chrislebe Christian Lebe
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: