Page MenuHomePhabricator

Remove pointless requireCapabilities() method from PhabricatorProjectColumnTransactionEditor
ClosedPublic

Authored by epriestley on Aug 14 2018, 8:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 11:27 PM
Unknown Object (File)
Sat, Dec 14, 7:19 AM
Unknown Object (File)
Fri, Dec 13, 12:31 AM
Unknown Object (File)
Sat, Dec 7, 9:54 AM
Unknown Object (File)
Fri, Dec 6, 4:48 PM
Unknown Object (File)
Wed, Nov 27, 9:19 AM
Unknown Object (File)
Thu, Nov 21, 1:00 PM
Unknown Object (File)
Wed, Nov 20, 12:26 PM
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