1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-25 05:58:21 +01:00
phorge-phorge/src/applications/project/editor
epriestley d58eddcf0a When predicting project membership during edits, predict milestones will have parent membership
Summary:
Depends on D20919. Ref T13462. When editing milestones, we currently predict they will have no members for policy evaluation purposes. This isn't the right rule.

Instead, predict that their membership will be the same as the parent project's membership, and pass this hint to the policy layer.

See T13462 for additional context and discussion.

Test Plan:
  - Set project A's edit policy to "Project Members".
  - Joined project A.
  - Tried to create a milestone of project A.
    - Before: policy exception that the edit policy excludes me.
    - After: clean milestone creation.
  - As a non-member, tried to create a milestone. Received appropriate policy error.

Maniphest Tasks: T13462

Differential Revision: https://secure.phabricator.com/D20920
2019-11-18 23:07:05 -08:00
..
PhabricatorProjectColumnTransactionEditor.php Modularize workboard column transactions 2019-03-25 13:14:25 -07:00
PhabricatorProjectTransactionEditor.php When predicting project membership during edits, predict milestones will have parent membership 2019-11-18 23:07:05 -08:00
PhabricatorProjectTriggerEditor.php Track how many columns use a particular trigger 2019-03-25 14:04:55 -07:00