MDL-54035 accesslib: Check if the user can switch role before switching
authorDavid Monllao <davidm@moodle.com>
Wed, 26 Sep 2018 11:03:08 +0000 (13:03 +0200)
committerDavid Monllao <davidm@moodle.com>
Wed, 26 Sep 2018 11:03:08 +0000 (13:03 +0200)
commite8ce6ca3068a4db9285976c344f14f63a365cf92
tree896a79f02c4ef8f2553080d90a5c163e78091187
parent0e795287043f384ec4ea2b417750a64825550339
MDL-54035 accesslib: Check if the user can switch role before switching
lib/accesslib.php