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)
Fri, May 3, 9:23 AM
Unknown Object (File)
Thu, Apr 25, 3:01 AM
Unknown Object (File)
Fri, Apr 19, 7:51 PM
Unknown Object (File)
Thu, Apr 18, 11:44 AM
Unknown Object (File)
Wed, Apr 17, 6:32 PM
Unknown Object (File)
Mon, Apr 15, 4:32 PM
Unknown Object (File)
Thu, Apr 11, 3:52 PM
Unknown Object (File)
Thu, Apr 11, 3:52 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