Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13997474
D7550.id17039.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
628 B
Referenced Files
None
Subscribers
None
D7550.id17039.diff
View Options
Index: src/applications/macro/controller/PhabricatorMacroDisableController.php
===================================================================
--- src/applications/macro/controller/PhabricatorMacroDisableController.php
+++ 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/plain
Expires
Fri, Oct 25, 4:39 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6724608
Default Alt Text
D7550.id17039.diff (628 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