diff --git a/extension/lite/execution/ext/ui/task.html.php b/extension/lite/execution/ext/ui/task.html.php index fefb0efe45..69b198b412 100644 --- a/extension/lite/execution/ext/ui/task.html.php +++ b/extension/lite/execution/ext/ui/task.html.php @@ -14,6 +14,8 @@ namespace zin; include 'header.html.php'; +jsVar('canAssignTo', common::canModify('execution', $execution) && hasPriv('task', 'assignTo')); + /* zin: Define the set::module('task') feature bar on main menu. */ featureBar (