Page MenuHomePhabricator

Remove pointless requireCapabilities() method from PhabricatorProjectColumnTransactionEditor
ClosedPublic

Authored by epriestley on Aug 14 2018, 8:22 PM.
Tags
None
Referenced Files
F18106894: D19582.id46836.diff
Sun, Aug 10, 11:30 PM
F17947189: D19582.id.diff
Thu, Jul 31, 3:46 PM
F17922458: D19582.diff
Wed, Jul 30, 6:49 AM
Unknown Object (File)
Jun 30 2025, 2:49 PM
Unknown Object (File)
Jun 18 2025, 9:53 PM
Unknown Object (File)
Jun 8 2025, 9:59 PM
Unknown Object (File)
Jun 3 2025, 5:22 AM
Unknown Object (File)
Jun 3 2025, 5:22 AM
Subscribers
None

Details

Summary

Depends on D19581. Ref T13164. This method has no effect:

  • You must always have CAN_EDIT to reach an Editor in the first place.
  • Per previous change, I'm going to restructure this so transactions explicitly check CAN_EDIT by default anyway.
Test Plan

Tried to edit and hide a project column as a user without permission, hit global permission checks long before reaching this method.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable