From 3043163747b13ce1942b2e55977cf7c5417021de Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 18 Sep 2016 21:19:48 -0400 Subject: Add column restrictions to custom project roles --- app/Template/task/dropdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Template/task/dropdown.php') diff --git a/app/Template/task/dropdown.php b/app/Template/task/dropdown.php index 127fc89c..f2423dd8 100644 --- a/app/Template/task/dropdown.php +++ b/app/Template/task/dropdown.php @@ -49,7 +49,7 @@ url->link(t('Remove'), 'TaskSuppressionController', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?> - user->hasProjectAccess('TaskStatusController', 'close', $task['project_id'])): ?> + projectRole->canChangeTaskStatusInColumn($task['project_id'], $task['column_id'])): ?>
  • -- cgit v1.2.3