Page MenuHomePhabricator

Remove pointless requireCapabilities() method from PhabricatorRepositoryEditor
ClosedPublic

Authored by epriestley on Aug 14 2018, 8:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 23, 6:04 PM
Unknown Object (File)
Aug 21 2026, 5:40 AM
Unknown Object (File)
Aug 14 2026, 9:55 AM
Unknown Object (File)
Aug 9 2026, 12:57 AM
Unknown Object (File)
Aug 6 2026, 11:32 PM
Unknown Object (File)
Aug 6 2026, 11:07 PM
Unknown Object (File)
Aug 6 2026, 6:26 AM
Unknown Object (File)
Jul 2 2026, 4:35 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