Page MenuHomePhabricator

Remove pointless requireCapabilities() method from PhabricatorRepositoryEditor
ClosedPublic

Authored by epriestley on Aug 14 2018, 8:30 PM.
Tags
None
Referenced Files
F19102083: D19583.id.diff
Dec 5 2025, 5:28 AM
F19098793: D19583.diff
Dec 4 2025, 6:09 PM
F18938213: D19583.diff
Nov 11 2025, 2:51 AM
F18862210: D19583.diff
Nov 2 2025, 6:21 PM
F18836994: D19583.diff
Oct 27 2025, 4:07 AM
F18819777: D19583.id46837.diff
Oct 22 2025, 9:26 AM
F18772336: D19583.id46837.diff
Oct 9 2025, 1:52 AM
F18772334: D19583.id46814.diff
Oct 9 2025, 1:52 AM
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