public function SetPermissions($documentId, $workflowId, $arPermissions, $bRewrite = true) { $diskId = self::processGetDiskIdByDocId((int) $documentId); if ($diskId !== null) { return self::proxyToDisk(__FUNCTION__, array($diskId, $workflowId, $arPermissions, $bRewrite)); } return parent::SetPermissions($documentId, $workflowId, $arPermissions, $bRewrite); }
public function SetPermissions($documentId, $workflowId, $arPermissions, $bRewrite = true) { $arPermissions = self::toInternalOperations(null, $arPermissions); parent::SetPermissions($documentId, $workflowId, $arPermissions, $bRewrite); }