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

Make more use of caches in accesslib

XMLWordPrintable

    • MOODLE_35_STABLE

      Since the imrpovements to accesslib caching in MDL-49398, we now have cached all the role_capabilities for each role.

      Therefore, there are many accesslib functions that could now quite easily save DB queries. E.g. get_roles_with_cap_in_context, role_context_capabilities, the queries in role_change_permission that decide whether anything needs to be changed, ...

      Just creating this as a placeholder that this would be worth doing.

            Unassigned Unassigned
            timhunt Tim Hunt
            Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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