Last modified by Anna Paul-Hasenfuss on 25.06.2025

Show last authors
1 In the course editor, access to a course element can be protected with a password. You can use an expert rule to extend this password check. That way, you can use a list of passwords instead of checking a single password.
2
3
4 |=(% colspan="1" %)(((
5 General syntax
6 )))|=(% colspan="1" %)(((
7 Rule example
8 )))|=(% colspan="1" %)(((
9 Rule result
10 )))
11 |(% colspan="1" %)(((
12 //isPasswordConfirmed("[integer]")//
13 )))|(% colspan="1" %)isPasswordConfirmed("abc") or isPasswordConfirmed("def") or isPasswordConfirmed("ghi")|The course element is accessible when the user enters one of the passwords (“abc,” “def,” or “ghi”) in the field.