From 845f94db8ccb78699279fa32f88677c114035c5b Mon Sep 17 00:00:00 2001 From: tristan Date: Tue, 17 Feb 2026 08:19:56 +0100 Subject: [PATCH] =?UTF-8?q?fix=20:=20correction=20du=20role=20pour=20la=20?= =?UTF-8?q?r=C3=A9cup=C3=A9ration=20de=20la=20liste=20des=20supplier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Entity/Supplier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Supplier.php b/src/Entity/Supplier.php index 1fe346a..6ed64da 100644 --- a/src/Entity/Supplier.php +++ b/src/Entity/Supplier.php @@ -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']],