From 7e815a06f8597203665f5ec10d01c58bc61bdf37 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 18 Oct 2013 16:23:16 -0700 Subject: [PATCH] Fix audio editing! Summary: This capability was replaced with an application-wide "manage" capability. It's checked for just above. Test Plan: Edited audio! Reviewers: btrahan, ljalonen, chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D7353 --- .../macro/controller/PhabricatorMacroAudioController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/applications/macro/controller/PhabricatorMacroAudioController.php b/src/applications/macro/controller/PhabricatorMacroAudioController.php index 6f4c0ab990..8b4b9cfdb6 100644 --- a/src/applications/macro/controller/PhabricatorMacroAudioController.php +++ b/src/applications/macro/controller/PhabricatorMacroAudioController.php @@ -22,7 +22,6 @@ final class PhabricatorMacroAudioController ->requireCapabilities( array( PhabricatorPolicyCapability::CAN_VIEW, - PhabricatorPolicyCapability::CAN_EDIT, )) ->withIDs(array($this->id)) ->executeOne();