From 4f3be693e5dc3919f9cf9304aefa26f149391133 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 15 Jun 2022 08:11:24 +1000 Subject: [PATCH] gerrit docs: add note that duplicate user may have email addresses to remove Change-Id: I54e935704d38dd60cdf75415dd8c61b06cae7b11 --- doc/source/gerrit.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/source/gerrit.rst b/doc/source/gerrit.rst index 8668c3f31f..a7d82af71b 100644 --- a/doc/source/gerrit.rst +++ b/doc/source/gerrit.rst @@ -500,6 +500,12 @@ delete the record with another call $ curl -XPOST -u you.admin -i -H "Content-Type: application/json" -d '["https://login.ubuntu.com/+id/RaND0m"]' https://review.opendev.org/a/accounts/12345/external.ids:delete +If the user has added email addresses, there may also be ``mailto:`` +identity entries for emails the user now wishes to use on their other +account. You should remove these with a ``:delete`` call as above. +Note that ``username`` external-ids cannot be deleted (Gerrit will +error), so new accounts can not reuse the username of old accounts. + The user should now be able to add ``foo@new.com`` to their old account.