Gestió de rols

De MoodleDocs
Salta a:navegació, cerca

Nota: Pendent de Traduir. Hi ha Voluntaris!?     (altres pàgines pendents)

Localització: Administració > Usuaris > Permisos > Definició de rols

La pàgina de definició de rols té tres pestanyes: per a la gestió de rols, per permetre assignar rols i per permetre excepcions.

La pestanya per a la gestió de rols conté una llista de rols del lloc. La columna d'edició conté icones per editar i esborrar rols, iper moure'ls amunt i avall de la llista (així es modifica l'ordre de presentació de les llistes de rols pertot el Moodle).

Rols predefinits

El Moodle es presenta amb 7 rols predefinits:

Edició d'un rol

Per editar un rol:

  1. feu clic a Permisos al bloc d'administració del lloc, i després a Definició de rols.
  2. feu clic a la icona d'edició al costat dret del rol que vulgueu editar, per exemple, Estudiant.
  3. A la pàgina d'edició dels rols, canvieu els permisos segons vulgueu.
  4. Baixeu fins a la base de la pàgina i feu clic a "Desa els canvis".


Addició d'un rol

Per afegir un rol:

  1. Feu clic a Permisos al bloc d'Administració del lloc, després a Definició de rols.
  2. Feu clic a "Afegeix un rol".
  3. A la pàgina d'addició de rols, proporcioneu-li el nom. Si voleu establir un nom que valgui per a molts idiomes podreu utilitzar la sintaxi multilingüe si voleu, com per exemple <span lang="en" class="multilang">Teacher</span> <span lang="ca_ES" class="multilang">Professor</span>. Si s'utilitza una sintaxi multilingüe haureu d'activar el filtre de Continguts multilingües a la zona d'administració de filtres.
  4. Proporcioneu un nom curt i amb sentit al rol. El nom curt l'utilitzaran altres connectors al Moodle que s'hagin de referir al rol (per exemple, quan pengeu usuaris des d'un fitxer o quan permeteu l'entrada al lloc a través d'un connector d'autenticació).
  5. Descriviu el rol (no és imprescindible).
  6. Establiu els paràmetres al vostre gust.
  7. A la base de la pàgina feu clic a "Afegeix el rol".

Creating a duplicate role

Moodle1.8 In Moodle 1.8 onwards, a new role may be quickly created my making a copy of an existing role.

To create a duplicate role:

  1. Click on Permissions in the Site Administration block, then Define roles.
  2. Click on the role to be duplicated, for example "Guest".
  3. Click the "Duplicate role" button near the top of the "View role details" page.
  4. Answer Yes to the question "Are you sure you want to duplicate the role ...?"
  5. The list of roles will now show the "... copy 1" at the bottom, for example "Guest copy 1".
  6. Edit the duplicated role to meet your needs.

Legacy role types

  • Legacy role types were implemented for backward compatibility.
  • Selecting a legacy role type in 1.8 (or allowing a legacy capability in 1.7) does NOT provide a new role with all capabilities of a pre-Moodle 1.7 role.
  • It is recommended that a legacy role type is selected only for roles that are similar to pre-Moodle 1.7 student/teacher/admin/creator roles.
  • It is not necessary to select a legacy role type unless using old 3rd party code that was not designed for Moodle 1.7 and doesn't yet support roles.

New role considerations

A newly created or copied role does not have the ability to override or assign any other roles. You should consider if you need to allow the role such rights.

New roles will not by default be listed in course descriptions (even if copied from a role that already is, such as the Teacher role). This is set via Administration > Appearance > Course managers.

Testing a new role

To test a new role:

  1. Create test user and assign new role to them.
  2. Either logout as admin and then login as test user or use a different browser to login as test user.

Note: Role changes only take effect after the next login from that user. New roles may not be tested using the "Switch role to..." feature.

Example roles

  • Inspector - for providing external inspectors with permission to view all courses (without being required to enrol)
  • Parent - for providing parents/mentors/tutors with permission to view certain information about their children/mentees/tutees
  • Demo teacher - for providing a demonstration teacher account with a password which can't be changed
  • Forum moderator role - for providing a user with permission in a particular forum to edit or delete forum posts, split discussions and move discussions to other forums
  • Keyholder role - for setting the person named as holding a course enrolment key

See also