moodle/admin/roles
Jonathan Champ b2f349a433 MDL-54035 accesslib: separate role definition cache clear
Thanks to MDL-49398, we can separate the combined user session and role
definition cache clearing function into two separate functions. At the
same time, we want to identify and remove mark_dirty() calls that were
added for role definition changes but were incorrectly left behind.

Change highlights:
 - Remove unnecessary mark_dirty() calls performed after
   assign_capability(), unassign_capability(), delete_role(),
   deleted contexts, brand new contexts
 - Move role definition cache clear from the user-centric
   accesslib_clear_all_caches() to the newly created,
   role-dedicated accesslib_reset_role_cache()
2018-09-21 09:17:42 -04:00
..
classes MDL-54035 accesslib: separate role definition cache clear 2018-09-21 09:17:42 -04:00
tests MDL-61943 core_role: Add privacy implementation for core_role 2018-05-08 13:40:30 +02:00
admins.php MDL-59429 roles: Log add/remove admin users. 2018-06-15 10:22:54 +08:00
ajax.php MDL-55456 course: set context for category ajax requests 2016-10-18 12:50:21 +10:30
allow.php MDL-54035 accesslib: separate role definition cache clear 2018-09-21 09:17:42 -04:00
assign.php MDL-61462 admin_roles: Point back to roles link to the correct URL 2018-02-16 10:32:44 +08:00
check.php MDL-56586 blocks: Fix mess with links to permissions 2016-11-24 14:24:59 +08:00
define.php MDL-50666 core: Add function get_viewable_roles to set role visibility 2017-12-19 13:53:23 +13:00
lib.php MDL-40337 fix some more deprecated calls in role code 2013-06-27 22:41:14 +02:00
manage.php MDL-54035 accesslib: separate role definition cache clear 2018-09-21 09:17:42 -04:00
managetabs.php MDL-50666 core: Add function get_viewable_roles to set role visibility 2017-12-19 13:53:23 +13:00
module.js MDL-56657 admin: Style all admin/role pages for boost 2016-11-14 15:11:15 +08:00
override.php MDL-56657 admin: Style all admin/role pages for boost 2016-11-14 15:11:15 +08:00
permissions.php MDL-56586 blocks: Fix mess with links to permissions 2016-11-24 14:24:59 +08:00
role_schema.xml MDL-50666 core: Add function get_viewable_roles to set role visibility 2017-12-19 13:53:23 +13:00
usersroles.php MDL-59263 roles: Wrong order of parameters in calls to pix_icon function 2017-06-16 10:02:52 +08:00