Page MenuHomePhabricator

D7550.id17039.diff
No OneTemporary

D7550.id17039.diff

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

Mime Type
text/plain
Expires
Fri, Oct 25, 5:44 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)

Event Timeline