OPEN-ENT-NG / vie-scolaire

Application de paramétrage de la suite Vie Scolaire
GNU Affero General Public License v3.0
1 stars 0 forks source link

fix(security): #MVS-102 remove structure right filter and modify AccessStructureAdminRightParamService #92

Closed Gregprod33 closed 1 year ago

Gregprod33 commented 1 year ago

Describe your changes

Removing StructureRight resource filter because it was doing the same thing as AccessIfMyStructure Modifying AccessStructureAdminRightParamService by verifying non null structure id. Replace StructureRight filter by AccessIfMyStructure for the route @Get("/user/list")

Checklist tests

Issue ticket number and link

#MVS-102

Checklist before requesting a review (magic string, indentation, comment/documentation...)