@Get("/settings/periodes/exclusions")
This filter checks the structure related to the one passed in query param
For each route, front files have been checked to pass structureId in route
Checklist tests
@Get("/settings/periode") -> Route never called, reference on EDT but never used
@Get("/settings/periode/schoolyear") -> This API is used in 3 modules : go to "emploi du temps" module, the route is immediatly called. Go to "Cahier de texte", the route is immediatly called. Go to "Présences" "Evénements" "Alertes"
@Get("/settings/periodes/exclusions") -> viescolaire => établissement => paramétrage périodes d'exclusions vérifier check that we get exclusions.
Describe your changes
Add AccessIfMyStructure resourceFilter on :
Checklist tests
Issue ticket number and link
MVS-111
Checklist before requesting a review (magic string, indentation, comment/documentation...)