diff --git a/lib.php b/lib.php index 1359dac..28f0aca 100644 --- a/lib.php +++ b/lib.php @@ -41,6 +41,10 @@ class enrol_apply_plugin extends enrol_plugin { // Users with unenrol cap may unenrol other users manually. return true; } + public function roles_protected() { + // Users may tweak the roles later. + return false; + } /** * Prevent to unenrol an user with a pending application *