Kontext: Unterschied zwischen den Versionen

Aus MoodleDocs
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{Übersetzen}}
{{ÜbersetzenVergeben}}
{{Hauptseite}}
{{Hauptseite}}
A context is a space in Moodle where [[Rollen und Rechte|roles]] can be assigned. For example, a Moodle site is one context and that contains a number of other contexts within it. A category is a context, within a site context, that contains courses and sub-categories that have a context of their own.  
Ein Kontext ist ein Bereich in Moodle, in dem [[Rollen und Rechte|Rollen]] zugewiesen werden können. Zum Beispiel ist die gesamte Moodle-Site ein Kontext, die weitere Kontexte enthält. Ein Kursbereich ist z.B. ein solcher Kontext, der wiederum Kursunterbereiche und Kurse als Unterkontexte enthält.  


A [[Kurse|course]] may hold, within its own context, an activity, or a [[Fragensammlung|Question bank]]'s question category, which are also contexts. A context might contain other contexts and Roles can be assigned to each context.  
Ein [[Kurse|Kurs]] kann als Kontext Aktivitäten oder eine [[Fragensammlung]] mit Fragenkategorien oder Blöcke enthalten. Alle Beispiele zeigen, dass Kontexte weitere Unterkontexte enthalten können, und in jedem (Unter-)Kontext können Rollen zugewiesen werden.


There is a hierarchy of contexts which helps locate and define a specific space. A course can have many contexts in its space.  These might include lesson, assignment, forum and quiz modules and blocks.  
Kontexte sind also hierarchich organisiert, und diese Hierearchie erleichtert die Suche nach einem bestimmten Bereich.


Generally speaking, this hierarchy allows a lower context to receive information from a higher context. Thus a student in the context of Course A, will initially be considered a student in a Quiz context that is located in Course A. Or when a theme has been set for the Biology course categories, that is passed on to Biology 101.  
Die Hierarchie erlaubt es, dass untergeordnete Kontexte Informationen aus übergeordneten Kontexten übernehmen können. Zum Beispiel hat eine Person, die im Kontext eines Kurses A die Rolle [[Teilnehmer-Rolle|Teilnehmer/in]] hat, diese Rolle auch im Unterkontext eines Tests B, der im Kurs A verfügbar ist. Oder wenn im Kontext eines Kursbereiches C ein bestimmtes Design zugewiesen wurde, dann gilt dieses Design auch in allen Unterkontexten, d.h. in allen Kursen dieses Kursbereiches C.


==Roles  and contexts==
==Rollen und Kontexte==
A context is combined with role permissions to define a User's [[Rollen und Rechte|capabilities]] on any page in Moodle.  Typically contexts have their own organization structure which allow a User's role to be passed along to the context "below" but not to the one above it.[[Image:context.png|right|thumb|150px|Each context can have a different role assigned to a User]]   
A context is combined with role permissions to define a User's [[Rollen und Rechte|capabilities]] on any page in Moodle.  Typically contexts have their own organization structure which allow a User's role to be passed along to the context "below" but not to the one above it.[[Image:context.png|right|thumb|150px|Each context can have a different role assigned to a User]]   


Zeile 17: Zeile 17:




== Graphic showing contexts within contexts ==
== Grafische Darstellung der Kontexthierarchie==


The image below shows a few contexts and their relationships.  The "System" or Moodle site is the overall context.  The user is defined initially in this context.   
The image below shows a few contexts and their relationships.  The "System" or Moodle site is the overall context.  The user is defined initially in this context.   

Version vom 21. Februar 2019, 08:25 Uhr

Baustelle.png Diese Seite muss übersetzt werden.
Es kümmert sich jemand darum, aber du darfst auch gern selbst mithelfen! Wenn du mit deiner Arbeit fertig bist, dann entferne die Vorlage {{ÜbersetzenVergeben}} aus dem Artikel.
Danke für deine Mitarbeit!


Ein Kontext ist ein Bereich in Moodle, in dem Rollen zugewiesen werden können. Zum Beispiel ist die gesamte Moodle-Site ein Kontext, die weitere Kontexte enthält. Ein Kursbereich ist z.B. ein solcher Kontext, der wiederum Kursunterbereiche und Kurse als Unterkontexte enthält.

Ein Kurs kann als Kontext Aktivitäten oder eine Fragensammlung mit Fragenkategorien oder Blöcke enthalten. Alle Beispiele zeigen, dass Kontexte weitere Unterkontexte enthalten können, und in jedem (Unter-)Kontext können Rollen zugewiesen werden.

Kontexte sind also hierarchich organisiert, und diese Hierearchie erleichtert die Suche nach einem bestimmten Bereich.

Die Hierarchie erlaubt es, dass untergeordnete Kontexte Informationen aus übergeordneten Kontexten übernehmen können. Zum Beispiel hat eine Person, die im Kontext eines Kurses A die Rolle Teilnehmer/in hat, diese Rolle auch im Unterkontext eines Tests B, der im Kurs A verfügbar ist. Oder wenn im Kontext eines Kursbereiches C ein bestimmtes Design zugewiesen wurde, dann gilt dieses Design auch in allen Unterkontexten, d.h. in allen Kursen dieses Kursbereiches C.

Rollen und Kontexte

A context is combined with role permissions to define a User's capabilities on any page in Moodle. Typically contexts have their own organization structure which allow a User's role to be passed along to the context "below" but not to the one above it.

Each context can have a different role assigned to a User

It is possible to assign a user different permissions based upon a specific context. For example, a user might be given the role of "student" for a course but be given a teacher's role in the context of one specific forum. Or a user can be a teacher of one course and a student in another course.

Many Moodle contexts have a place to grant exceptions to specific roles within that context. Those exceptions are non-transferable from that context. That is, an exception can be applied to the next context downward, but cannot applied sideways nor upward from that context.


Grafische Darstellung der Kontexthierarchie

The image below shows a few contexts and their relationships. The "System" or Moodle site is the overall context. The user is defined initially in this context.

  • The System context has 2 contexts under it, with other context under them
    • The Front page context has
      • An activity module context and
      • A block context within it
    • The Course Category context has
      • A Course context within it. The course context has
        • An activity module context and
        • A block context within it

Moodle-contexts-1.8.png

(Source: Development:Roles#Context)

Another graphic of hierarchy

Showing the Site > Category > Course contexts but not activities

See also