after last commit

This commit is contained in:
b.razafimandimbihery 2025-05-27 00:09:58 +03:00
parent e739df3811
commit 6ad6608324

View File

@ -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 {