fix(user-studies): visibilities & actors

This commit is contained in:
David Mosbach 2022-10-23 22:29:20 +02:00
parent a2110cde15
commit 4d2c7c1073

View File

@ -7,10 +7,13 @@ nodes:
translations:
en-eu: "MMI points submittable"
viewers: &view-minimal
- &sekretariat
tag: authorized #TODO anpassen
authorized: {"dnf-terms": [[{"tag": "variable", "var": "exam-office"}]]}
- &student
- &sekretariat-1
tag: user
user: "Christa.Feulner@campus.lmu.de"
- &sekretariat-2
tag: user
user: "Franziska.Schwamb@campus.lmu.de"
- &student_in
tag: payload-reference
payload-label: "student:in"
- tag: initiator
@ -18,8 +21,9 @@ nodes:
payload-view: &payload-view
"nutzerstudien":
viewers: &view-alle
- *sekretariat
- *student
- *sekretariat-1
- *sekretariat-2
- *student_in
- &pruefungsamt
tag: authorized
authorized: {"dnf-terms": [[{"tag": "variable", "var": "exam-office"}]]}
@ -46,7 +50,7 @@ nodes:
messages:
- viewers:
- *student
- *student_in
status: info
content:
fallback: >-
@ -70,12 +74,14 @@ nodes:
fallback-lang: de-de-formal
translations:
en-eu: "Submit points"
actors:
- *student
actors: &alle-studierenden
- *student_in
- tag: initiator
- tag: authorized
authorized: { "dnf-terms": [[{"tag": "variable", "var": "student"}]] }
view-actor: *view-alle
messages:
- viewers:
- *student
- viewers: *alle-studierenden
status: info
content:
fallback: "Sie müssen nicht alle Bescheinigungen auf einmal hochladen. Weitere Belege lassen sich nachreichen."
@ -168,7 +174,7 @@ nodes:
translations:
en-eu: "Enquire score"
actors:
- *student
- *student_in
view-actor: *view-alle
form:
"kommunikation":
@ -185,7 +191,7 @@ nodes:
source: "punktestand erfragt"
messages:
- viewers:
- *student
- *student_in
status: info
content:
fallback: "Solange Ihre Anfrage noch nicht bearbeitet wurde, können Sie weitere Belege einreichen."
@ -220,7 +226,8 @@ nodes:
translations:
en-eu: "Inform about missing MMI points"
actors:
- *sekretariat
- *sekretariat-1
- *sekretariat-2
view-actor: *view-alle
form:
"kommunikation":
@ -257,7 +264,8 @@ nodes:
translations:
en-eu: "Inform about sufficient score"
actors:
- *sekretariat
- *sekretariat-1
- *sekretariat-2
view-actor: *view-alle
form:
"kommunikation":