Update: 2026-05-07 03:12:04

This commit is contained in:
Hamza-Ayed
2026-05-07 03:12:04 +03:00
parent bfb6368ec8
commit 6cefee3d42
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ use App\Middleware\AuthMiddleware;
$decoded = AuthMiddleware::check();
if (!in_array($decoded['role'], ['admin', 'accountant'])) {
if (!in_array($decoded['role'], ['admin', 'accountant', 'super_admin'])) {
json_error('غير مصرح لك بتأكيد الدفع.', 403);
}