KMP PHP API Reference

WorkflowInstancesControllerPolicy
in package
implements BeforePolicyInterface

Controller-level policy for WorkflowInstancesController.

All actions are admin-only; requires super user or explicit policy grant.

Table of Contents

Interfaces

BeforePolicyInterface

Methods

before()  : ResultInterface|bool|null
canGridData()  : bool
canInstances()  : bool
canViewInstance()  : bool
_hasPolicyForUrl()  : bool
Check if user has explicit policy grant for a URL action.

Methods

before()

public before(IdentityInterface|null $user, mixed $resource, string $action) : ResultInterface|bool|null
Parameters
$user : IdentityInterface|null
$resource : mixed
$action : string
Return values
ResultInterface|bool|null
On this page

Search results