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: Difference between revisions

From MoodleDocs
m (category)
(page rewrite, note re. assigning admins in system context only)
Line 1: Line 1:
[[Administrator|Admins]] (short for Administrators) can do anything and go anywhere in the site.  In versions prior to 1.7, only the [[Primary Administrator|primary admin]] may '''assign or remove admin rights''' for other users. In 1.7 this is not true.  
[[Administrator|Admins]] (short for Administrators) can do anything and go anywhere in the site.




== Creating new admins prior to Moodle 1.7 ==
==Assigning users the role of admin==
In order to assign an existing user on a Moodle site as an admin, one must first login as the primary admin user.


# On the Moodle site's home page, locate the "'''Administration'''" sideblock
To assign a user the role of admin in Moodle 1.7 onwards:
# Click on the "'''Admin...'''" link located at the bottom of the block
#Access ''Administration > Users > Permissions > Assign system roles''.
# Click on the "'''Assign admins'''" link
#Choose the administrator role to assign.
# Select any of the users from the right column ('potential admins') of the screen and then click the "'''<'''" button.
#Select a user in the potential users list, and use the left-facing arrow button to add it to the existing users list.


To remove admin rights, simply follow the instructions above but select the existing admin from the left hand side and click the "'''>'''" button instead.
Note: Users should only be assigned the role of admin (i.e. a role with the capability [[Capabilities/moodle/site:doanything|moodle/site:doanything]] set to allow) in the system context.


==Assigning admin rights in Moodle 1.7 onwards==
==Creating admins pre-1.7 ==


#Select the '''Users''' link in the Site Administration sideblock.
To create an admin in versions of Moodle prior to 1.7:
#Click on the link '''Permissions''' and then on the '''Assign Global Roles''' link. This should bring up and table of different roles, a description about them and the amount of users who are assigned to certain roles.
#Login as the primary admin user.
#Click the '''Administrator''' link and a two column table should appear. The left hand column should say '''Existing Users''' and the right hand column should say '''Potential Users''' In between these two columns should two buttons. One like this '''<''' and another like this '''>'''.
#Click on the admin link at the bottom of the site administration block.
#Select the user you wish to 'promote' to Administrator and press the '''<''' button. The name of the user should move over to the '''Existing Users''' side. This works the opposite way too. You can 'demote' an administrator to a 'limbo' which allows the user to be moved to a different group.
#Click on the "Assign admins" link.
#Select any of the users from the right column ('potential admins') of the screen and then click the "'''<'''" button.


Please note that this works for all groups and not just Administrator.
To remove admin rights, simply follow the instructions above but select the existing admin from the left hand side and click the "'''>'''" button instead.
 
==Roles in Moodle 1.7 onwards==


There is no default primary administrator role in 1.7, just administrator.  The new role system was designed to migrate users in with their previous site and/or course role assignments. 
==Primary administrators==


Remember in 1.7, it is possible to add a new roll (for example called) Primary Administrator and to slightly harden/restrict the Legacy Administrator role.
In versions of Moodle prior to 1.7, only the [[Primary administrator pre-1.7|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==
==See also==

Revision as of 22:14, 8 March 2008

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