Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Manager role: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(templates, description, see also, category)
 
(Edited a useful description provided by Tim Hunt in a Moodle.org Forum)
Línia 2: Línia 2:


The default manager role, in Moodle 2.0 onwards, enables users assigned the role to access courses and modify them.
The default manager role, in Moodle 2.0 onwards, enables users assigned the role to access courses and modify them.
The Manager role is a 'real role', ''similar'' to Administrator (but much safer to use).
The way permission checks work in the Moodle code is that there is a function called has_capability.  For admins, has_capability will '''always''' return true, no matter how the roles are set up.
However, the Manager role is a normal role, like Course Creator, or Teacher. By default the Manager role has almost every capability but, because it is a normal role, you can edit that role if you choose (there is no way to edit what permissions an Administrator has).
Best-practice might suggest that Admins should normally use a Manager role, and not use an Administrator account.
This is similar to the way you are recommended not to log into Linux as root.
The Manager role therefore allows a site Administrator to give very powerful roles to others who are assigned a Manager role, but without having to give them a full Administrator role.


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

Revisió del 10:45, 17 març 2011

Plantilla:Moodle 2.0

The default manager role, in Moodle 2.0 onwards, enables users assigned the role to access courses and modify them.

The Manager role is a 'real role', similar to Administrator (but much safer to use).

The way permission checks work in the Moodle code is that there is a function called has_capability. For admins, has_capability will always return true, no matter how the roles are set up.

However, the Manager role is a normal role, like Course Creator, or Teacher. By default the Manager role has almost every capability but, because it is a normal role, you can edit that role if you choose (there is no way to edit what permissions an Administrator has). Best-practice might suggest that Admins should normally use a Manager role, and not use an Administrator account.

This is similar to the way you are recommended not to log into Linux as root.

The Manager role therefore allows a site Administrator to give very powerful roles to others who are assigned a Manager role, but without having to give them a full Administrator role.

See also