Last modified by Carina Enke on 19.01.2024

Show last authors
1 {{layout}}
2 {{layout-section ac:type="two_equal"}}
3 {{layout-cell}}
4 By using expert rules, you can influence visibility and access even of publicly accessible courses. To do this, use the expert rule **isGuest**.
5 {{/layout-cell}}
6
7 {{layout-cell}}
8 {{panel title="Inhalt"}}
9 {{toc minLevel="2"/}}
10
11 **Related Topics**
12
13 * Course Elemet [[Struktur>>doc:LMS.Benutzerhandbuch OPAL.Lehren.Kursbausteine.Struktur.WebHome]]
14 * [[Allgemeiner Zugriff auf Kurse und Ressourcen>>doc:LMS.Benutzerhandbuch OPAL.Lehren.Kurs.Freigabe von Kursen und Kursinhalten.Allgemeiner Zugriff auf Kurse und Ressourcen.WebHome]]
15 * Further [[Application examples for expert rules>>doc:LMS.Benutzerhandbuch OPAL.Lehren.Kurs.Freigabe von Kursen und Kursinhalten.Expertenmodus zur Freigabe innerhalb von Kursen.Anwendungsbeispiele zu Expertenregeln.WebHome]]
16 {{/panel}}
17 {{/layout-cell}}
18 {{/layout-section}}
19
20 {{layout-section ac:type="single"}}
21 {{layout-cell}}
22 == Making individual content in a public course visible only to registered users ==
23
24 Do you wish to hide content in a public course from guests? Enter the following content in the text field next to Expert rule in the Visibility tab of the respective course element.
25
26 {{code}}
27 isGuest()=false
28 {{/code}}
29
30 [[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
31
32 (% class="auto-cursor-target" %)
33 After publishing, registered users and course owners will see this course element. Non-logged in guest users, however, do not.
34 {{/layout-cell}}
35 {{/layout-section}}
36
37 {{layout-section ac:type="three_equal"}}
38 {{layout-cell}}
39 **View as a registered user**
40 {{/layout-cell}}
41
42 {{layout-cell}}
43 **View as a guest user**
44 {{/layout-cell}}
45
46 {{layout-cell}}
47 **View as a course owner**
48 {{/layout-cell}}
49 {{/layout-section}}
50
51 {{layout-section ac:type="three_equal"}}
52 {{layout-cell}}
53 [[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
54 {{/layout-cell}}
55
56 {{layout-cell}}
57 [[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
58 {{/layout-cell}}
59
60 {{layout-cell}}
61 [[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
62 {{/layout-cell}}
63 {{/layout-section}}
64
65 {{layout-section ac:type="single"}}
66 {{layout-cell}}
67 == Making individual content in a public course visible only to guests ==
68
69 Do you wish to display content in a public course exclusively to guests and course owners? Enter the following content in the text field next to Expert rule in the Visibility tab of the respective course element.
70
71
72 {{code}}
73 isGuest() or isCourseAdministrator()
74 {{/code}}
75
76 This will make the course element in a publicly accessible course visible only to guest users and course owners.
77
78 [[image:attach:Kurseditor - Konfiguration nur Gäste und Kursverantwortliche_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
79
80 (% class="auto-cursor-target" %)
81 After publishing, registered users will not see this course element. Guest users and course owners, however, do will see it.
82 {{/layout-cell}}
83 {{/layout-section}}
84
85 {{layout-section ac:type="three_equal"}}
86 {{layout-cell}}
87 **View as a registered user**
88 {{/layout-cell}}
89
90 {{layout-cell}}
91 **View as a guest user**
92 {{/layout-cell}}
93
94 {{layout-cell}}
95 **View as a course owner**
96 {{/layout-cell}}
97 {{/layout-section}}
98
99 {{layout-section ac:type="three_equal"}}
100 {{layout-cell}}
101 [[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
102 {{/layout-cell}}
103
104 {{layout-cell}}
105 [[image:attach:Kursrun - Ansicht nur Gäste_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
106 {{/layout-cell}}
107
108 {{layout-cell}}
109 [[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
110 {{/layout-cell}}
111 {{/layout-section}}
112
113 {{layout-section ac:type="single"}}
114 {{layout-cell}}
115
116 {{/layout-cell}}
117 {{/layout-section}}
118 {{/layout}}