From 6ad660832418c203c44391b10f5b56585dc6062a Mon Sep 17 00:00:00 2001 From: "b.razafimandimbihery" Date: Tue, 27 May 2025 00:09:58 +0300 Subject: [PATCH] after last commit --- lib/Components/appDrawer.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Components/appDrawer.dart b/lib/Components/appDrawer.dart index 1fce330..013a53c 100644 --- a/lib/Components/appDrawer.dart +++ b/lib/Components/appDrawer.dart @@ -162,7 +162,7 @@ class CustomDrawer extends StatelessWidget { leading: const Icon(Icons.warning_amber), title: const Text("Gérer les rôles"), onTap: () async { - bool hasPermission = await userController.hasAnyPermission(['update', 'delete']); + bool hasPermission = await userController.hasAnyPermission(['update', 'delete','create']); if (hasPermission) { Get.to(const HandleUserRole()); } else {