commit to merge

This commit is contained in:
Sana EL HIRI 2022-02-18 12:01:55 +01:00
parent cea4ee8690
commit b9d3288a28

View file

@ -45,7 +45,7 @@ public class MembreController {
// Récupère tout les membres de la base
@GetMapping(value = "/all")
@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")
//@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")
public ResponseEntity<?> getAll(){
List<Membre> liste = null;
try