mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
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
This commit is contained in:
parent
51c52f50fd
commit
e9614df76e
1 changed files with 1 additions and 2 deletions
|
@ -624,8 +624,7 @@ final class PhabricatorProjectBoardViewController
|
|||
->setMetadata(
|
||||
array(
|
||||
'columnPHID' => $column->getPHID(),
|
||||
))
|
||||
->setDisabled(!$can_edit);
|
||||
));
|
||||
|
||||
$batch_edit_uri = $request->getRequestURI();
|
||||
$batch_edit_uri->setQueryParam('batch', $column->getID());
|
||||
|
|
Loading…
Reference in a new issue