1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-17 17:28:42 +01:00
phorge-phorge/src/applications/project/xaction
epriestley 7e29ec2e2a Move the "Can Lock Projects" check from requireCapabilities() to transaction validation
Summary: Depends on D19584. Ref T13164. This check is an //extra// check: you need EDIT //and// this capability. Thus, we can do it in validation without issues.

Test Plan:
  - This code isn't reachable today: all methods of applying this transaction do a separate check for "Can Lock" upfront.
  - Commented out the "Can Lock" check in the LockController, tried to lock as a user without permission. Was rejected with a policy exception.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13164

Differential Revision: https://secure.phabricator.com/D19585
2018-08-16 10:56:00 -07:00
..
PhabricatorProjectColorTransaction.php Migrate Project color to modular transactions 2017-05-18 16:46:06 -07:00
PhabricatorProjectFilterTransaction.php Migrate Project sort and filter defaults to modular transactions 2017-05-24 12:36:06 -07:00
PhabricatorProjectIconTransaction.php Migrate Project icons to modular transactions 2017-05-18 16:25:59 -07:00
PhabricatorProjectImageTransaction.php Migrate Project image to modular transactions 2017-05-18 16:08:37 -07:00
PhabricatorProjectLockTransaction.php Move the "Can Lock Projects" check from requireCapabilities() to transaction validation 2018-08-16 10:56:00 -07:00
PhabricatorProjectMilestoneTransaction.php Migrate Project parent and milestone to modular transactions 2017-05-23 11:20:01 -07:00
PhabricatorProjectNameTransaction.php Migrate Project names to modular transactions 2017-05-17 17:12:22 -07:00
PhabricatorProjectParentTransaction.php Migrate Project parent and milestone to modular transactions 2017-05-23 11:20:01 -07:00
PhabricatorProjectSlugsTransaction.php Make Project slug/hashtag transactions render a little more nicely 2017-05-19 13:59:27 -07:00
PhabricatorProjectSortTransaction.php Migrate Project sort and filter defaults to modular transactions 2017-05-24 12:36:06 -07:00
PhabricatorProjectStatusTransaction.php Migrate Project status to modular transactions 2017-05-18 11:36:13 -07:00
PhabricatorProjectTransactionType.php Migrate Project names to modular transactions 2017-05-17 17:12:22 -07:00
PhabricatorProjectTypeTransaction.php Migrate Project parent and milestone to modular transactions 2017-05-23 11:20:01 -07:00
PhabricatorProjectWorkboardBackgroundTransaction.php Migrate Project workboard background color to modular transactions 2017-05-24 12:56:25 -07:00
PhabricatorProjectWorkboardTransaction.php Migrate Project workboard to modular transactions 2017-05-23 12:38:27 -07:00