Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Capabilities/moodle/course:changecategory.

Capabilities/moodle/course:changecategory

From MoodleDocs
  • This allows a user to change the course category in the course settings, providing they have this capability in other categories. In other words, the Course category dropdown menu only shows categories for which the user has the 'Change course category' capability.
  • This capability is allowed for the default roles of Manager, Course creator and Teacher.

How can I enable teachers to change the course category?

Normally the Teacher role is assigned in the course context i.e. you enrol a teacher in the course and give them the role of Teacher. To enable teachers to change the course category, you need to assign them a system role (or course category role) with the 'Change course category' capability allowed. This can be done by creating a custom role as follows:

  1. Go to Site administration > Users > Permissions > Define roles.
  2. Click the 'Add a new role' button and give it a name.
  3. Select System (or Category) as context where the role may be assigned.
  4. Search for the capability moodle/course:changecategory and set it to Allow.
  5. click the 'Create this role' button.
  6. Next, go to Site administration > Users > Permissions > Assign system roles.
  7. Assign your newly created role to the required teachers.