$api->validateAreaAccess()
Validates that the acting user has access to the given area.
$api->validateAreaAccess(string $area): void
Parameters
| Name | Type | Default |
|---|---|---|
| $arearequired | string |
no default value |
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\PermissionException |