Updated permission name to view
This commit is contained in:
@@ -110,6 +110,6 @@ class GuardPatrolEntryDashboard extends Page
|
||||
|
||||
public static function canAccess(): bool
|
||||
{
|
||||
return Auth::check() && Auth::user()->can('view guard patrol entry dashboard');
|
||||
return Auth::check() && Auth::user()->can('view guard patrol entry status dashboard');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user