fix : correction du role pour la récupération de la liste des supplier

This commit is contained in:
tristan
2026-02-17 08:19:56 +01:00
parent 86c0e74074
commit 845f94db8c
+1 -1
View File
@@ -26,7 +26,7 @@ use Symfony\Component\Serializer\Attribute\Groups;
),
new GetCollection(
normalizationContext: ['groups' => ['supplier:read']],
security: "is_granted('ROLE_ADMIN')"
security: "is_granted('ROLE_USER')"
),
new Post(
normalizationContext: ['groups' => ['supplier:read']],