Page MenuHomePhabricator

Fix incorrect check for CAN_EDIT in macro enable/disable controller
ClosedPublic

Authored by epriestley on Nov 10 2013, 12:30 AM.
Tags
None
Referenced Files
F14065778: D7550.diff
Tue, Nov 19, 6:28 AM
F14056454: D7550.diff
Sat, Nov 16, 8:39 PM
F14050929: D7550.diff
Thu, Nov 14, 9:36 PM
F14040395: D7550.diff
Mon, Nov 11, 9:51 AM
F14024319: D7550.diff
Thu, Nov 7, 8:12 AM
F14002759: D7550.id.diff
Fri, Oct 25, 10:07 PM
F13997698: D7550.id17039.diff
Thu, Oct 24, 5:44 AM
F13997474: D7550.id17039.diff
Thu, Oct 24, 4:39 AM
Subscribers

Details

Summary

This CAN_EDIT capability doesn't exist. PhabricatorMacroCapabilityManage::CAPABILITY (checked on line 15) is used instead.

Test Plan

Disabled, then re-enabled a macro.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Tested this and it works.