Capabilities/moodle/category:manage: Unterschied zwischen den Versionen
Aus MoodleDocs
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 5: | Zeile 5: | ||
*Diese Fähigkeit ist ab Moodle 1.9.4 verfügbar und ersetzt die Fähigkeiten [[Capabilities/moodle/category:create|moodle/category:create]], [[Capabilities/moodle/category:update|moodle/category:update]] und [[Capabilities/moodle/category:delete|moodle/category:delete]]. | *Diese Fähigkeit ist ab Moodle 1.9.4 verfügbar und ersetzt die Fähigkeiten [[Capabilities/moodle/category:create|moodle/category:create]], [[Capabilities/moodle/category:update|moodle/category:update]] und [[Capabilities/moodle/category:delete|moodle/category:delete]]. | ||
==Regeln== | |||
Im einzelnen gelten folgende Regeln: | |||
# Um einen neuen Kursbereich anlegen zu können,you need moodle/category:manage in the parent of the category you are adding to. | |||
# To browse a category and the courses it contains, you don't normally need any special capabilities, except that | |||
#* to view hidden courses, you need [[Capabilities/moodle/course:viewhiddencourses|moodle/course:viewhiddencourses]], and | |||
#* to see hidden categories you need [[Capabilities/moodle/category:viewhiddencategories|moodle/category:viewhiddencategories]] | |||
# To update a category's name, description, and/or visiblility, you need moodle/category:manage in the category itself. | |||
# To move a category from one place in the tree to another, you need moodle/category:manage in both the old and new parent categories (and you are not allowed to move a category to be a descendant of itself!) | |||
# To delete a category, you need moodle/category:manage in the parent category and the category itself. In addition, if the category or any of its subcategories contains any courses you need either: | |||
#* [[Capabilities/moodle/course:delete|moodle/course:delete]] in all of those courses, and moodle/category:manage in all of the child categories, or | |||
#* [[Capabilities/moodle/course:create|moodle/course:create]] and moodle/category:manage in some other category that is not a child of this one. (Except that, if this category contains no sub-categories, we don't check moodle/category:manage in the other category.) | |||
[[Category:Fähigkeiten]] | [[Category:Fähigkeiten]] | ||
[[en:Capabilities/moodle/category:manage]] | [[en:Capabilities/moodle/category:manage]] |
Version vom 3. Februar 2009, 13:50 Uhr
Moodle1.9
- Diese Fähigkeit bezeichnet die Funktionalität, Kursbereiche zu verwalten, d.h. anzulegen, zu bearbeiten und zu löschen.
- Diese Fähigkeit hat nur im System-Kontext Sinn (also für globale Rollen), um systemweit Kursbereiche zu verwalten, oder im Kontext eines Kursbereichs, um Unterkursbereiche zu verwalten.
- Standardmäßig ist diese Fähigkeit nur für die Rolle Administrator/in auf Erlauben gesetzt.
- Diese Fähigkeit ist ab Moodle 1.9.4 verfügbar und ersetzt die Fähigkeiten moodle/category:create, moodle/category:update und moodle/category:delete.
Regeln
Im einzelnen gelten folgende Regeln:
- Um einen neuen Kursbereich anlegen zu können,you need moodle/category:manage in the parent of the category you are adding to.
- To browse a category and the courses it contains, you don't normally need any special capabilities, except that
- to view hidden courses, you need moodle/course:viewhiddencourses, and
- to see hidden categories you need moodle/category:viewhiddencategories
- To update a category's name, description, and/or visiblility, you need moodle/category:manage in the category itself.
- To move a category from one place in the tree to another, you need moodle/category:manage in both the old and new parent categories (and you are not allowed to move a category to be a descendant of itself!)
- To delete a category, you need moodle/category:manage in the parent category and the category itself. In addition, if the category or any of its subcategories contains any courses you need either:
- moodle/course:delete in all of those courses, and moodle/category:manage in all of the child categories, or
- moodle/course:create and moodle/category:manage in some other category that is not a child of this one. (Except that, if this category contains no sub-categories, we don't check moodle/category:manage in the other category.)