Page MenuHomePhabricator

Remove pointless requireCapabilities() method from PhabricatorRepositoryEditor
ClosedPublic

Authored by epriestley on Aug 14 2018, 8:30 PM.
Tags
None
Referenced Files
F14743391: D19583.diff
Mon, Jan 20, 7:34 PM
Unknown Object (File)
Wed, Jan 1, 4:07 PM
Unknown Object (File)
Dec 19 2024, 9:17 PM
Unknown Object (File)
Dec 17 2024, 6:42 AM
Unknown Object (File)
Dec 13 2024, 8:49 PM
Unknown Object (File)
Dec 4 2024, 5:24 AM
Unknown Object (File)
Nov 30 2024, 12:23 PM
Unknown Object (File)
Nov 27 2024, 9:08 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