Allow 'No assignee' for external task on single user public boards

'No assignee' option is already available in modification but not in
creation.
This patch fixes that by allowing the 'No assignee' option on external
task creation.
This commit is contained in:
Julian Maurice
2018-08-11 10:33:01 +02:00
committed by Frédéric Guillot
parent 9d4cd31e1a
commit 318b5414d2

View File

@@ -67,7 +67,7 @@ class ExternalTaskCreationController extends BaseController
'errors' => $errors,
'template' => $taskProvider->getCreationFormTemplate(),
'columns_list' => $this->columnModel->getList($project['id']),
'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, true),
'users_list' => $this->projectUserRoleModel->getAssignableUsersList($project['id'], true, false, $project['is_private'] == 1),
'categories_list' => $this->categoryModel->getList($project['id']),
'swimlanes_list' => $this->swimlaneModel->getList($project['id'], false, true),
)));