Documentation

checkCompletePermission

boolean public static
\Bitrix\Crm\Activity\Provider\Base::checkCompletePermission(
$entityId, array $activity, $userId
);

Method checks if user can has access permissions to update the activity status. When returns null, this check depends on access permissions to associated entity in CRM. Static method.

Parameters

ParameterDescriptionVersion
$entityIdEntity ID.
$activityActivity array.
$userIdUser ID.

Example



© «Bitrix24», 2001-2024