You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a course is created with self-enrollment and the participant role does not have rolid = 5, or a different role has been configured for self-enrollment, then a user can enroll in the course, but no role is assigned.
In the file “moodle/admin/tool/supporter/classes/external.php” the roleid “5” is hard-coded
Hi,
If a course is created with self-enrollment and the participant role does not have rolid = 5, or a different role has been configured for self-enrollment, then a user can enroll in the course, but no role is assigned.
In the file “moodle/admin/tool/supporter/classes/external.php” the roleid “5” is hard-coded
Here is a suggestion on how to change this.
Instead of the “5”, the default role from “Enrol” should be used.
Best regards,
Sybille
The text was updated successfully, but these errors were encountered: