abstract class AbstractPolicy

Constants

GLOBAL

ALLOW

DENY

FORCE_ALLOW

FORCE_DENY

Methods

allow()

No description

deny()

No description

forceAllow()

No description

forceDeny()

No description

bool|void
checkAbility(User $actor, string $ability, $instance)

No description

Details

protected allow()

protected deny()

protected forceAllow()

protected forceDeny()

bool|void checkAbility(User $actor, string $ability, $instance)

Parameters

User $actor
string $ability
$instance

Return Value

bool|void