You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Als Mitgliederverwalter:in mit Schreibrechten einer Sektion möchte ich Externe Ausbildungen nur mit bestimmten Kursarten erstellen können.
Neu soll auf der Kursart ein Flag "Von Sektion erstellbar"/section_may_create hinzugefügt werden (Boolean, not null, default false). Dieses wird im Formular unterhalb "Unterkunft" als Checkbox dargestellt.
Bei der ExternalTrainingAbility wird für alle Permissions je eine neue Constraint Methode erstellt. Diese basiert auf den aktuell verwendeten Methoden und erhält den Suffix _if_section_may_create. Die Implementation prüft zusätzlich, ob die Berechtigungen entweder auf dem Root Layer vorhanden ist oder falls nicht, ob die zugehörige Kursart das Flag "Von Sektion erstellbar" gesetzt hat.
Als Mitgliederverwalter:in mit Schreibrechten einer Sektion möchte ich Externe Ausbildungen nur mit bestimmten Kursarten erstellen können.
Neu soll auf der Kursart ein Flag "Von Sektion erstellbar"/
section_may_create
hinzugefügt werden (Boolean, not null, default false). Dieses wird im Formular unterhalb "Unterkunft" als Checkbox dargestellt.Bei der ExternalTrainingAbility wird für alle Permissions je eine neue Constraint Methode erstellt. Diese basiert auf den aktuell verwendeten Methoden und erhält den Suffix
_if_section_may_create
. Die Implementation prüft zusätzlich, ob die Berechtigungen entweder auf dem Root Layer vorhanden ist oder falls nicht, ob die zugehörige Kursart das Flag "Von Sektion erstellbar" gesetzt hat.Beispiel für group_full / in_same_group:
ToDo
The text was updated successfully, but these errors were encountered: