Skip to content

Kirby 4.5.0

$permissions->for()

$permissions->for(?string $category = null, ?string $action = null, bool $default = false): bool

Parameters

Name Type Default
$category string|null null
$action string|null null
$default bool false

Return type

bool

Parent class

Kirby\Cms\Permissions