1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 19:52:44 +01:00
phorge-phorge/src/applications/system
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
..
action Simplify implementation of "SysetemAction->getSystemActionConstant()" 2019-07-19 15:45:37 -07:00
application Add an "Advanced/Developer..." action item for viewing object handle details and hovercards 2019-11-08 16:47:05 -08:00
codex When destorying a repository, print a notification about removing the working copy 2017-08-01 08:57:39 -07:00
controller Add a "View as..." option to diff dropdowns for selecting between document engines 2019-09-25 16:29:21 -07:00
engine Update repository identities after all mutations to users and email addresses 2019-11-19 09:41:59 -08:00
events Add an "Advanced/Developer..." action item for viewing object handle details and hovercards 2019-11-08 16:47:05 -08:00
exception Add semi-generic rate limiting infrastructure 2014-04-03 11:22:38 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
interface Allow objects to specify custom policy unlocking behavior, and tasks to have owners unlocked 2019-03-07 12:27:11 -08:00
management When destorying a repository, print a notification about removing the working copy 2017-08-01 08:57:39 -07:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00