I tried to make an HTML-block on the starting page viewable only for the role "Authentifizierte/r Lehrer/in" (authenticated teacher) by setting "moodle/block:view" to A at the block element context. On the other hand "Authentifizierte/r Nutzer/in" (authenticated user) have P in this block context.
Loggin in as an authenticated teacher I'm still not able to see the HTML-block. I read "How permissions are calculated", used rolesdebug.php and it gives
---------- snip ------
gouser = spil (<name>)
capability = moodle/block:view ("Block sehen")
context = Block502 (Block: HTML)
-
R8 = Authentifizierte/r Lehrer/in
R7 = Authentifizierte/r Nutzer/in
Kernsystem | Startseite | HTML |
R8(A), R7(A) | - |
- |
- |
- |
- |
R8(A), R7(P) | - |
- |
Calculated permission = P
Can do anything = false
Can do this = false
---------- snip ------
Doesn't that contradict the article mentioned above?
What am I missing? How can I enable this Block-Element for teachers only without disclosing it to authenticated users? Thank you!