Course requester role

From MoodleDocs
Revision as of 10:41, 22 December 2011 by Helen Foster (talk | contribs) (roles template)

The role of Course requester may be used to restrict users who can make course requests, perhaps to teachers only.

By default, all authenticated users can make course requests. To change this:

  1. Access Administration > Users > Permissions > Define roles.
  2. Edit the authenticated user role and change the capability moodle/course:request from allow to not set.
  3. Scroll to the bottom of the page and click the 'Save changes' button.

Role set-up

  1. Access Administration > Users > Permissions > Define roles.
  2. Click the button "Add a new role"
  3. Give the role a name e.g. Course requester, short name and description.
  4. Under "Context types where this role may be assigned", click on the "System" tick box turning it on.
  5. Change the capability moodle/course:request to allow.
  6. Click the button "Add a new role".

Note: It is necessary to create a new role, rather than simply changing the capability for the teacher role, because it needs to be assigned as a system role. (The role of teacher is generally assigned in the course or course category context.)

Role assignment

  1. Access Administration > Users > Permissions > Assign system roles.
  2. Choose the course requester role to assign.
  3. Select a user in the potential users list, and use the left-facing arrow button to add it to the existing users list. If you want all teachers to be able to make course requests, you need to select all their names.