From 5e37f4263cf5028be9bdcebe539f33de70738d7d Mon Sep 17 00:00:00 2001 From: Xor290 Date: Mon, 15 Jun 2026 21:16:37 +0200 Subject: [PATCH] chore: build --- backend/gestion/handlers/delivery_admin.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/gestion/handlers/delivery_admin.go b/backend/gestion/handlers/delivery_admin.go index a905908a..a156638a 100644 --- a/backend/gestion/handlers/delivery_admin.go +++ b/backend/gestion/handlers/delivery_admin.go @@ -22,7 +22,6 @@ import ( func GetDeliveryPersonDetails(c *gin.Context) { database := c.MustGet("database").(*db.Database) - // ✅ SÉCURITÉ: Admin seulement userRole := c.GetString("role") if userRole != "admin" && userRole != "cabine" && userRole != "livreur" { log.Printf("❌ [GET_DELIVERY_DETAILS] Accès refusé - role=%s", userRole)