Fixed: rights on the action list in accompanying period main's page

Add is_granted check on the action:

- if update action is allowed, open in update mode;
- if see action is allowed, open in see mode;
- fallback to an inactive link (should not happens)
This commit is contained in:
2023-06-27 11:04:22 +02:00
parent 27f797d736
commit f19b939bd4
2 changed files with 20 additions and 12 deletions

View File

@@ -0,0 +1,6 @@
kind: Fixed
body: On the accompanying course page, open the action on view mode if the user does
not have right to update them (i.e. if the accompanying period is closed)
time: 2023-06-27T11:02:33.027807027+02:00
custom:
Issue: "116"