eZ\Publish\Core\REST\Client\Repository::canUser PHP 메소드

canUser() 공개 메소드

사용 중단: since 6.6, to be removed. Use PermissionResolver::canUser() instead. Indicates if the current user is allowed to perform an action given by the function on the given objects.
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
리턴 boolean
    public function canUser($module, $function, ValueObject $object, $targets = null)
    {
        // @todo: Implement
    }