Home::hasAccess()
Checks if the user has access to the given panel path. This is quite tricky, because we need to call a trimmed down router to check for available routes and their firewall status.
Parameters
Name | Type | Default |
---|---|---|
$user * | Kirby\Cms\User |
– |
$path * | string |
– |
Return type
bool