This commit is contained in:
nurmuhammet committed 2025-09-08 14:38:55 +05:00
1 parent b509a23f7a
commit cf8146fb4c
3 files changed
+16 -6

No files matched your search

@@ -30,4 +30,12 @@ public static function isAdmin(): Closure
{
return fn () => Gate::allows('isAdmin', auth()->user());
}
/**
* Check if user is a currency maintainer
*/
public static function isCurrencyMaintainer(): Closure
{
return fn () => Gate::allows('isCurrencyMaintainer', auth()->user());
}
}