Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Administrator role.

Administrator role

From MoodleDocs
Revision as of 22:14, 8 March 2008 by Helen Foster (talk | contribs) (page rewrite, note re. assigning admins in system context only)

Admins (short for Administrators) can do anything and go anywhere in the site.


Assigning users the role of admin

To assign a user the role of admin in Moodle 1.7 onwards:

  1. Access Administration > Users > Permissions > Assign system roles.
  2. Choose the administrator 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.

Note: Users should only be assigned the role of admin (i.e. a role with the capability moodle/site:doanything set to allow) in the system context.

Creating admins pre-1.7

To create an admin in versions of Moodle prior to 1.7:

  1. Login as the primary admin user.
  2. Click on the admin link at the bottom of the site administration block.
  3. Click on the "Assign admins" link.
  4. Select any of the users from the right column ('potential admins') of the screen and then click the "<" button.

To remove admin rights, simply follow the instructions above but select the existing admin from the left hand side and click the ">" button instead.

Primary administrators

In versions of Moodle prior to 1.7, only the primary admin could create admins or remove admin rights for other users. In Moodle 1.7 onwards there is no primary administrator. However, a duplicate administrator role may be created with slightly fewer capabilities allowed.

See also