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

Trigger event core\event\role_capabilities_updated inside of assign_capability()

    XMLWordPrintable

Details

    Description

      At the moment event core\event\role_capabilities_updated is triggered after calling to assign_capability()

      First benefit will be that we will event/log particular changes instead of general "some permissions changed"

      Second benefit is that we will event/log ALL situations where capabilities are changed which are not logged atm such as:

      • adding/removing individual capabilities (non-advanced mode)
      • capabilities overrides restored from backup file
      • resetting capabilities

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marina Marina Glancy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.