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 {