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)
Thu, Apr 25, 2:28 AM
Unknown Object (File)
Fri, Apr 19, 7:20 PM
Unknown Object (File)
Wed, Apr 17, 5:57 PM
Unknown Object (File)
Apr 1 2024, 9:29 PM
Unknown Object (File)
Mar 29 2024, 3:30 PM
Unknown Object (File)
Mar 6 2024, 10:00 AM
Unknown Object (File)
Jan 21 2024, 9:03 PM
Unknown Object (File)
Jan 21 2024, 8:06 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
Branch
uxaction6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 20614
Build 28010: Run Core Tests
Build 28009: arc lint + arc unit