Problem:
When an editor connects a Wikipedia article with an Item from the client we make an edit for them. We need to check if we are leaking their IP in case they are not logged in and IP masking is enabled on the repo.
If we are leaking the editor's IP through the LinkItem widget and temporary accounts are enabled on the repo, we must not leak it and add entry with their temporary account name instead to the edit history of the Item.
BDD
GIVEN a Wikipedia article
AND a user who isn't logged in
AND Temporary Accounts are enabled
WHEN connecting it to an Item from the client
THEN the connected Item is edited
AND an entry with their temporary account name is added to the edit history of the Item
Acceptance criteria:
- IP is not leaked for editors using the client LinkItem widget if IP masking is enabled on the repo
Open questions:
- Do we show IP leak warnings here? If yes we should have a new ticket for removing that warning if IP masking is enabled on the repo.