public canUser ( string $module, string $function, eZ\Publish\API\Repository\Values\ValueObject $object, mixed $targets = null ) : boolean | ||
$module | string | The module, aka controller identifier to check permissions on |
$function | string | The function, aka the controller action to check permissions on |
$object | eZ\Publish\API\Repository\Values\ValueObject | The object to check if the user has access to |
$targets | mixed | The location, parent or "assignment" value object, or an array of the same |
return | boolean |