This commit is contained in:
EwelinaLasowy
2022-05-16 14:26:32 +02:00
parent c74fc16acd
commit 7158e07920
11 changed files with 73 additions and 16 deletions

View File

@@ -35,5 +35,6 @@ class AuthServiceProvider extends ServiceProvider
Gate::define("manageVacationLimits", fn(User $user): bool => $user->role === Role::AdministrativeApprover);
Gate::define("generateTimesheet", fn(User $user): bool => $user->role === Role::AdministrativeApprover);
Gate::define("listMonthlyUsage", fn(User $user): bool => $user->role === Role::AdministrativeApprover);
Gate::define("manageResumes", fn(User $user): bool => $user->role === Role::AdministrativeApprover);
}
}