This is a test site. Any changes will be lost!

Keyholder role

From MoodleDocs

Creating a role of Keyholder allows a user with potentially very limited rights in a course to have access to the enrolment key settings.

  • Note that from Moodle 1.8.3 you can specify the role of the keyholder in the Internal enrolment settings, making this tip effectively redundant (although it will still work as described if the keyholder is not set).

Role set-up

  1. Access in the site home page Administration > Users > Permissions > Define roles
  2. Click the button "Add a new role"
    1. Alternatively, copy an existing role, perhaps copying a non-editing teacher role
  3. Give the role a name e.g. Keyholder, short name and description
  4. Change the capability moodle/course:update to allow
  5. Click the button "Add a new role"
  6. Use the up arrows in the edit column to move the Keyholder role above the Teacher role in the list
  7. Edit Keyholder role to tighten or loosen permissions. The Keyholder must be allowed to "update course settings"

Role assignment

  1. Access the Assign roles page in a particular course via the Assign roles link in course administration block
  2. Choose the Keyholder role to a user
  3. Select the user holding the course enrolment key in the potential users list, and use the left-facing arrow button to add it to the existing users list