Page MenuHomePhabricator

Remove pointless requireCapabilities() method from PhabricatorRepositoryEditor
ClosedPublic

Authored by epriestley on Aug 14 2018, 8:30 PM.
Tags
None
Referenced Files
F18836994: D19583.diff
Mon, Oct 27, 4:07 AM
F18819777: D19583.id46837.diff
Wed, Oct 22, 9:26 AM
F18772336: D19583.id46837.diff
Thu, Oct 9, 1:52 AM
F18772334: D19583.id46814.diff
Thu, Oct 9, 1:52 AM
F18749975: D19583.diff
Sat, Oct 4, 5:56 AM
F18742519: D19583.diff
Thu, Oct 2, 7:57 PM
F18509744: D19583.id.diff
Sep 5 2025, 3:35 AM
F18503143: D19583.diff
Sep 4 2025, 10:52 PM
Subscribers
None

Details

Summary

Depends on D19582. Ref T13164. It's not possible to reach the editor without passing through a CAN_EDIT check, and it shouldn't be necessarily to manually specify that edits require CAN_EDIT by default.

Test Plan

Grepped for RepositoryEditor, verified that all callsites pass through a CAN_EDIT check.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable