1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-13 00:01:03 +01:00
phorge-phorge/src/applications/system/engine
epriestley a7aca500bc Update repository identities after all mutations to users and email addresses
Summary:
Ref T13444. Currently, many mutations to users and email addresses (particularly: user creation; and user and address destruction) do not propagate properly to repository identities.

Add hooks to all mutation workflows so repository identities get rebuilt properly when users are created, email addresses are removed, users or email addresses are destroyed, or email addresses are reassigned.

Test Plan:
- Added random email address to account, removed it.
- Added unassociated email address to account, saw identity update (and associate).
  - Removed it, saw identity update (and disassociate).
- Registered an account with an unassociated email address, saw identity update (and associate).
  - Destroyed the account, saw identity update (and disassociate).
- Added address X to account A, unverified.
  - Invited address X.
  - Clicked invite link as account B.
  - Confirmed desire to steal address.
  - Saw identity update and reassociate.

Maniphest Tasks: T13444

Differential Revision: https://secure.phabricator.com/D20914
2019-11-19 09:41:59 -08:00
..
PhabricatorCacheEngine.php Cache Almanac URIs for repositories 2016-12-06 09:14:45 -08:00
PhabricatorCacheEngineExtension.php Cache Almanac URIs for repositories 2016-12-06 09:14:45 -08:00
PhabricatorDefaultUnlockEngine.php Update "bin/policy unlock" to be more surgical, flexible, modular, and modern 2019-03-07 12:24:25 -08:00
PhabricatorDestructionEngine.php Update repository identities after all mutations to users and email addresses 2019-11-19 09:41:59 -08:00
PhabricatorDestructionEngineExtension.php Update repository identities after all mutations to users and email addresses 2019-11-19 09:41:59 -08:00
PhabricatorDestructionEngineExtensionModule.php Redesign Config Application 2016-08-29 15:49:49 -07:00
PhabricatorSystemActionEngine.php Fix "ONLY_FULL_GROUP_BY" issue in SystemAction queries 2019-09-03 16:50:33 -07:00
PhabricatorUnlockEngine.php Allow objects to specify custom policy unlocking behavior, and tasks to have owners unlocked 2019-03-07 12:27:11 -08:00