Skip to content

Kirby 4.4.1

Panel::firewall()

Check for access permissions

Panel::firewall(?Kirby\Cms\User $user = null, ?string $areaId = null): bool

Parameters

Name Type Default
$user Kirby\Cms\User|null null
$areaId string|null null

Return type

bool

Parent class

Kirby\Panel\Panel