Page MenuHomePhabricator

Remove pointless requireCapabilities() method from PhabricatorRepositoryEditor
ClosedPublic

Authored by epriestley on Aug 14 2018, 8:30 PM.
Tags
None
Referenced Files
F18181088: D19583.id46837.diff
Sat, Aug 16, 7:30 AM
F18020723: D19583.diff
Sat, Aug 2, 7:54 PM
Unknown Object (File)
Jul 4 2025, 8:19 AM
Unknown Object (File)
Jul 1 2025, 4:42 PM
Unknown Object (File)
Jun 29 2025, 7:04 PM
Unknown Object (File)
Jun 3 2025, 5:22 AM
Unknown Object (File)
Jun 3 2025, 5:22 AM
Unknown Object (File)
May 27 2025, 7:21 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