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
Parameter | Description | Version |
---|---|---|
$entityId | Entity ID. | |
$activity | Activity array. | |
$userId | User ID. |
Example
© «Bitrix24», 2001-2024