14 $mode = ($params[
'mode'] ??
'');
15 $contextUserId = (int)($params[
'contextUserId'] ?? 0);
19 !Loader::includeModule(
'tasks')
27 $currentUserId === $contextUserId
28 || \
Bitrix\Tasks\
Util\User::isSuper($currentUserId)
29 || \CTasks::IsSubordinate($contextUserId, $currentUserId)
35 $mode = ($params[
'mode'] ??
'');
40 !Loader::includeModule(
'tasks')
51 CounterDictionary::COUNTER_SONET_TOTAL_EXPIRED,
52 CounterDictionary::COUNTER_SONET_TOTAL_COMMENTS,
53 CounterDictionary::COUNTER_SONET_FOREIGN_EXPIRED,
54 CounterDictionary::COUNTER_SONET_FOREIGN_COMMENTS,
59 CounterDictionary::COUNTER_SCRUM_TOTAL_COMMENTS,
60 CounterDictionary::COUNTER_SCRUM_FOREIGN_COMMENTS,