Skip to content

Commit e9614df

Browse files
author
epriestley
committed
Fix permission check for "Create Task" on workboards
Summary: Fixes T9090. You don't need to be able to edit a project to create tasks on its workboard. Being able to view the project is sufficient, and the user certianly can if they got this far. Test Plan: Viewed workboard, hit "Create Task". Reviewers: chad Reviewed By: chad Maniphest Tasks: T9090 Differential Revision: https://secure.phabricator.com/D14015
1 parent 51c52f5 commit e9614df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/applications/project/controller/PhabricatorProjectBoardViewController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,7 @@ private function buildColumnMenu(
624624
->setMetadata(
625625
array(
626626
'columnPHID' => $column->getPHID(),
627-
))
628-
->setDisabled(!$can_edit);
627+
));
629628

630629
$batch_edit_uri = $request->getRequestURI();
631630
$batch_edit_uri->setQueryParam('batch', $column->getID());

0 commit comments

Comments
 (0)