-
Improvement
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-72356-master -
-
Moppies Kanban
Currently when an admin of a new Moodle site adds a new course, they can't easily find the course when they next log in. If they are automatically enrolled as a teacher in the new course via a new setting 'Auto-enrol admin in new courses', then they can easily find the course as it will then be shown in My courses. They can always choose later to unenrol themselves from the course.
As an admin
I want to decide if I am enrolled in every course I create so it's one less thing for me to do when creating a course and also I can find the newly created course easily.
Currently, based on "Creators' role in new courses" setting (Site administration > Users > Permissions > User policies) course creators are enrolled by default in every course they create. But admins are never enrolled by default.
This new setting allows admins to decide if they want to be automatically enrolled and assigned the creators' role in new courses.
Default value of this setting for new installations will be 'Yes' (for admins to be enrolled). For existing Moodle sites default value of the setting will be 'No' to keep the current behavior.
Acceptance criteria:
- There is a new admin setting in Site administration > Users > Permissions > User policies called 'Auto-enrol admin in new courses' with description 'When an admin adds a new course, should they be automatically enrolled and assigned the creators' role in new courses?'
- In a new Moodle installation the default value for the setting is 'Yes'.
- When an existing Moodle site upgrades the default value of the setting is 'No'.
- When the setting is 'Yes' if an admin creates a new course, the admin will be enrolled in the course using the role selected in the "Creators' role in new courses" setting.
- When the setting is 'No' if an admin creates a new course, the admin won't be enrolled in the course.
- has a non-specific relationship to
-
MDL-79979 Test course creation in Site administration is not taking 'Auto-enrol admin in new courses' setting into consideration
-
- Closed
-