Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15431633
D14306.id34530.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
794 B
Referenced Files
None
Subscribers
None
D14306.id34530.diff
View Options
diff --git a/src/applications/project/controller/PhabricatorProjectBoardViewController.php b/src/applications/project/controller/PhabricatorProjectBoardViewController.php
--- a/src/applications/project/controller/PhabricatorProjectBoardViewController.php
+++ b/src/applications/project/controller/PhabricatorProjectBoardViewController.php
@@ -67,7 +67,11 @@
// TODO: Expand the checks here if we add the ability
// to hide the Backlog column
if (!$columns) {
- if (!$viewer->isLoggedIn()) {
+ $can_edit = PhabricatorPolicyFilter::hasCapability(
+ $viewer,
+ $project,
+ PhabricatorPolicyCapability::CAN_EDIT);
+ if (!$can_edit) {
return $this->noAccessDialog($project);
}
switch ($request->getStr('initialize-type')) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 25, 1:40 PM (3 d, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7580118
Default Alt Text
D14306.id34530.diff (794 B)
Attached To
Mode
D14306: Restrict Workboard initialization to CAN_EDIT
Attached
Detach File
Event Timeline
Log In to Comment