Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Administrator role.

Administrator role: Difference between revisions

From MoodleDocs
m (category)
(see also link, removing pre 1.7 content)
 
(5 intermediate revisions by 5 users not shown)
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.  
The [[Administrator|Admin]] (short for Administrator) can do anything and go anywhere in the site. The Admin can edit their profile like any other user.


==Assigning users the role of admin==


== Creating new admins prior to Moodle 1.7 ==
To assign a user the role of admin in Moodle 1.7 onwards:
In order to assign an existing user on a Moodle site as an admin, one must first login as the primary admin user.
#Access ''Administration > Users > Permissions > Assign system roles''.
#Choose the administrator role to assign.
#Select a user in the potential users list, and use the left-facing arrow button to add it to the existing users list.


# On the Moodle site's home page, locate the "'''Administration'''" sideblock
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.
# Click on the "'''Admin...'''" link located at the bottom of the block
# 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.


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==


==Assigning admin rights in Moodle 1.7 onwards==
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.
 
#Select the '''Users''' link in the Site Administration sideblock.
#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.
#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 '''>'''.
#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.
 
Please note that this works for all groups and not just Administrator.
 
==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. 
 
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.


==See also==
==See also==


*[[Site administrators]] in Moodle 2.0 onwards
*[http://moodle.org/mod/forum/discuss.php?d=36856 I lost my administrator's rights] forum discussion
*[http://moodle.org/mod/forum/discuss.php?d=36856 I lost my administrator's rights] forum discussion
*[http://moodle.org/mod/forum/discuss.php?d=43562 How to create an extra admin account]
*[http://moodle.org/mod/forum/discuss.php?d=43562 How to create an extra admin account]
Line 36: Line 24:
[[fr:Choisir les administrateurs]]
[[fr:Choisir les administrateurs]]
[[ja:管理者の割り当て]]
[[ja:管理者の割り当て]]
[[de:Administrator-Rolle]]

Latest revision as of 09:28, 6 May 2010

The Admin (short for Administrator) can do anything and go anywhere in the site. The Admin can edit their profile like any other user.

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.

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