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)
Tue, Dec 17, 6:42 AM
Unknown Object (File)
Fri, Dec 13, 8:49 PM
Unknown Object (File)
Wed, Dec 4, 5:24 AM
Unknown Object (File)
Sat, Nov 30, 12:23 PM
Unknown Object (File)
Wed, Nov 27, 9:08 AM
Unknown Object (File)
Sat, Nov 23, 12:47 PM
Unknown Object (File)
Tue, Nov 19, 7:53 AM
Unknown Object (File)
Nov 15 2024, 11:10 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