Wiki source code of Step-by-Step: Interne Inhalte

Last modified by Carina Enke on 12.01.2024

Hide last authors
Carina Enke 25.1 1 **Step-by-step: Making course content only visible to selected users, regardless of user roles**
Carina Enke 6.1 2
Carina Enke 23.8 3 {{layout}}
4 {{layout-section ac:type="single"}}
5 {{layout-cell}}
6 {{panel borderColor="#00819D" titleColor="white" borderWidth="2" titleBGColor="#00819D" borderStyle="solid" title="Scenario"}}
Carina Enke 18.1 7 You need an internal course area to make certain information only visible to and accessible by a specific group of users. Many users in your course already have extended rights. For example, there are students with the right to supervise the group.
8
9 In this case, it is not sufficient to limit the visibility of the course element for the required internal course area with the "Blocked for learners" option. Users with extended rights, such as group administrators, are not affected by this restriction and will still be able to see the course element.
Carina Enke 23.8 10 {{/panel}}
11 {{/layout-cell}}
12 {{/layout-section}}
Carina Enke 6.1 13
Carina Enke 23.8 14 {{layout-section ac:type="single"}}
15 {{layout-cell}}
Carina Enke 23.5 16
Carina Enke 23.8 17 {{/layout-cell}}
18 {{/layout-section}}
Carina Enke 6.1 19
Carina Enke 23.8 20 {{layout-section ac:type="single"}}
21 {{layout-cell}}
Carina Enke 23.9 22 {{panel borderColor="#5a759d" titleColor="white" borderWidth="2" titleBGColor="#5a759d" borderStyle="solid" title="Solution"}}
Carina Enke 18.1 23 To create a course area that is only visible to a targeted group of users, you have the following options:
Carina Enke 16.1 24
Carina Enke 23.5 25 * Use a** specific group** in the course if all **group tools** (forum, folder, wiki etc.) are sufficient for your scenario. The content will then be available in the group area.
Carina Enke 18.1 26 * (((
27 (% class="auto-cursor-target" %)
Carina Enke 23.5 28 Use a** structure course element** restricted to the specific group if the group tools are not sufficient for your scenario and you need further course elements. Limit the visibility of the structure course element to the group and additionally enable the option "Apply rules also for author, owner and tutor". The content will then appear directly in the course navigation for the authorised users.
Carina Enke 16.1 29
Carina Enke 23.8 30 {{expand title="Open sample configuration ..."}}
Carina Enke 6.1 31 (% class="wrapped" %)
32 |(% class="numberingColumn" %)(% class="numberingColumn" %)
33 (((
34 1
35 )))|(((
Carina Enke 18.1 36 Open the course. Switch to the group management and create a group in which you will later record the authorised users.
37 )))|(% rowspan="4" %)(% rowspan="4" %)
Carina Enke 6.1 38 (((
39 (% class="content-wrapper" %)
40 (((
Carina Enke 23.8 41 [[image:attach:Kurseditor - Sichtbar für spezifische Gruppe.png]]
Carina Enke 6.1 42 )))
43 )))
44 |(% class="numberingColumn" %)(% class="numberingColumn" %)
45 (((
46 2
47 )))|(((
Carina Enke 18.1 48 Switch to the course editor and create a structure course element.
Carina Enke 6.1 49 )))
50 |(% class="numberingColumn" %)(% class="numberingColumn" %)
51 (((
52 3
53 )))|(((
Carina Enke 18.1 54 (% class="content-wrapper" %)
55 (((
Carina Enke 23.8 56 In the **Visibility** tab, enable the** Depending on group **option and select the newly created group. In addition, enable the option **Apply rules also for author, owner and tutor**.
Carina Enke 6.1 57
Carina Enke 18.1 58 This configuration corresponds to the expert rule
Carina Enke 6.1 59
Carina Enke 23.8 60 {{code language="text"}}
Carina Enke 18.1 61 ( inLearningGroup("Gruppe intern") )
Carina Enke 23.8 62 {{/code}}
Carina Enke 6.1 63
Carina Enke 18.1 64 with "Gruppe intern" being the title of the concerned group.
Carina Enke 6.1 65 )))
66 )))
67 |(% class="numberingColumn" %)(% class="numberingColumn" %)
68 (((
69 4
70 )))|(((
Carina Enke 18.1 71 **Save **your entries and **publish** the course.
Carina Enke 6.1 72 )))
Carina Enke 23.8 73 {{/expand}}
Carina Enke 6.1 74 )))
75
Carina Enke 23.8 76 {{note}}
Carina Enke 18.1 77 Please note that all restrictions **apply only to the course view and do not affect the view in the course editor**. All users with rights for the course editor can see all course elements in the editor view.
Carina Enke 6.1 78
Carina Enke 18.1 79 To exclude these users as well, you can use an additional course, which will only be released for the desired users and integrated into the original course using a course course element. Access to the content will then be blocked by the restricted course access.
Carina Enke 23.8 80 {{/note}}
81 {{/panel}}
82 {{/layout-cell}}
83 {{/layout-section}}
84 {{/layout}}