Hinweis: Sie sind auf den Seiten der Moodle 3.1 Dokumentation. Die Dokumentation der aktuellsten Moodle-Version finden Sie hier: Neue Rollen anlegen.

Neue Rollen anlegen

Aus MoodleDocs
Wechseln zu:Navigation, Suche


Baustelle.png Diese Seite ist noch nicht vollständig übersetzt.

Eine neue Rolle anlegen

  1. Gehen Sie auf die Seite Einstellungen > Website-Administration > Nutzer/innen > Rechte > Rollen verwalten.
  2. Klicken Sie auf den Button Neue Rolle hinzufügen.
  3. Auf der Bearbeitungsseite der neuen Rolle vergeben Sie einen Namen. Wenn Sie den Rollennamen mehrsprachig verwenden wollen, verwenden Sie die Syntax für mehrsprachigen Inhalt, z.B. <span lang="en" class="multilang">Teacher</span> <span lang="es_es" class="multilang">Profesor</span> <span lang="de" class="multilang">Lehrer/in</span>. Voraussetzung ist jedoch, dass der Filter Mehrsprachiger Inhalt auf Ihrer Moodle-Installation aktiviert ist.
  4. Geben Sie der neuen Rolle eine sinnvolle Kurzbezeichnung. Diese wird von anderen Moodle-Plugins als Verweis auf die Rolle benötigt.
  5. Beschreiben Sie die neue Rolle (optional).
  6. Setzen Sie die Zugriffsrechte gemäß Ihren Anforderungen.
  7. Klicken Sie den Button Neue Rolle hinzufügen ganz unten auf der Seite.

To create a custom role:

  • Go to Settings > Site administration > Users > Permissions > Define roles.
  • Click the "Add a new role" button.
  • On the add a new role page, give the role a name e.g. 'Parent'. If you need to name the role for multiple languages you can use multi-lang syntax if you wish.

Datei:CustomRole01.png

  • Give the role a meaningful short name. The short name is necessary for other plugins in Moodle that may need to refer to the role (e.g. when uploading users from a file or setting enrolments via an enrolment plugin).
  • Give the role a description (optional).
  • Select the contexts where the role may be assigned e.g. 'User' for Parent role.

Datei:customrole02.png

  • Set permissions as required.
  • Scroll to the top or bottom of the page and click the "Create this role" button.

Creating a duplicate role

To create a duplicate role:

  • Go to Settings > Site administration > Users > Permissions > Define roles.
  • In the "edit" column on the right, click the x2 icon.
  • Give a name and set permissions for your new role; scroll down and click "create this role".
  • The list of roles will now show the "... copy 1" at the bottom, for example "Guest copy 1".

New role considerations

A newly-created role does not have the ability to assign or override any other roles. This is true even when the new role is a copy of a role that had such abilities. If such ability is needed, the administrator must grant it explicitly via the 'Allow role assignments' and 'Allow role overrides' tabs.

A new role is not automatically listed in course descriptions even if was created by copying a role that is listed, such as Teacher. If you want the new role to appear in the course listing, you must set it explicitly via Settings > Site administration > Appearance > Course managers.

Testing a new role

Settings > Switch role to Use the "Switch role to" link to see what another role will see in that context.

Since switching roles confines you to those roles you can assign in a course context, this method is only useful for testing course-scoped capabilities (i.e. it will not be useful for testing permissions that apply outside the course context, like moodle/user:edit).

Tip: You can always create test user and assign the new role to them. Then logout as admin and login as the test user. This is really the best way to test a new role.

Beispiele für neue Rollen

  • Eltern-Rolle - erlaubt es Eltern bzw. Mentor/innen, bestimmte Informationene von ihren Kindern bzw. Mentees zu sehen (z.B. Beiträge oder Bewertungen)
  • Demo-Trainer-Rolle - um ein spezielles Nutzerkonto für einen Demo-Trainer anlegen zu können, bei dem das Kennwort nicht geändert werden kann
  • Forum-Moderator-Rolle - für Nutzer/innen, die das Recht haben, in einem bestimmten Forum Beiträge zu bearbeiten, zu löschen, Diskussionen zu verschieben und aufzuteilen
  • Kalender-Verwalter-Rolle - für Nutzer/innen, die das Recht haben, globale Termine anzulegen
  • Blogger-Rolle - um nur ausgewählten Nutzer/innen das Bloggen zu erlauben
  • Test-Nutzer-Rolle ohne Zeitbegrenzung - um Nutzer/innen mit Handicap zu ermöglichen, zeitbegrenzte Tests ohne Zeitbeschränkung durchzuführen
  • Fragenersteller-Rolle - um Kursteilnehmer/innen zu ermöglichen, Testfragen zu erstellen

Siehe auch

Diskussionsbeiträge im Kurs Using Moodle auf moodle.org: