Panel::hasAccess()
Check if the given user has access to the panel or to a given area
Parameters
Name | Type | Default |
---|---|---|
$user | Kirby\Cms\User |null |
null |
$area | string |null |
null |
Return type
bool
Check if the given user has access to the panel or to a given area
Name | Type | Default |
---|---|---|
$user | Kirby\Cms\User |null |
null |
$area | string |null |
null |
bool