Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14715676
D20223.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
718 B
Referenced Files
None
Subscribers
None
D20223.diff
View Options
diff --git a/src/applications/maniphest/xaction/ManiphestTaskUnblockTransaction.php b/src/applications/maniphest/xaction/ManiphestTaskUnblockTransaction.php
--- a/src/applications/maniphest/xaction/ManiphestTaskUnblockTransaction.php
+++ b/src/applications/maniphest/xaction/ManiphestTaskUnblockTransaction.php
@@ -123,4 +123,14 @@
return parent::shouldHideForFeed();
}
+ public function getRequiredCapabilities(
+ $object,
+ PhabricatorApplicationTransaction $xaction) {
+
+ // When you close a task, we want to apply this transaction to its parents
+ // even if you can not edit (or even see) those parents, so don't require
+ // any capabilities. See PHI1059.
+
+ return null;
+ }
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 18, 6:14 PM (17 h, 34 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7003572
Default Alt Text
D20223.diff (718 B)
Attached To
Mode
D20223: Don't require any special capabilities to apply a "closed a subtask" transaction to a parent task
Attached
Detach File
Event Timeline
Log In to Comment