Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F81230
D7550.diff
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
645 B
Referenced Files
None
Subscribers
None
D7550.diff
View Options
diff --git a/src/applications/macro/controller/PhabricatorMacroDisableController.php b/src/applications/macro/controller/PhabricatorMacroDisableController.php
--- a/src/applications/macro/controller/PhabricatorMacroDisableController.php
+++ b/src/applications/macro/controller/PhabricatorMacroDisableController.php
@@ -19,11 +19,6 @@
$macro = id(new PhabricatorMacroQuery())
->setViewer($user)
- ->requireCapabilities(
- array(
- PhabricatorPolicyCapability::CAN_VIEW,
- PhabricatorPolicyCapability::CAN_EDIT,
- ))
->withIDs(array($this->id))
->executeOne();
if (!$macro) {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/re/e5/5uash4j6xpxhcprw
Default Alt Text
D7550.diff (645 B)
Attached To
Mode
D7550: Fix incorrect check for CAN_EDIT in macro enable/disable controller
Attached
Detach File
Event Timeline
Log In to Comment