#118 - fix to policies and added translations

This commit is contained in:
EwelinaLasowy
2022-04-15 11:01:23 +02:00
parent 7e0ecc3668
commit cb7e150717
4 changed files with 8 additions and 4 deletions

View File

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