Skip to content

Add API for suggesting unique alternatives if username exists

Alper Akgun requested to merge username_not_exists_with_unique_suggestions into master

What does this MR do?

Adds a new API /users/WANTED_USERNAME/suggests Suggests unique alternatives if username exists.

This will be a drop in replacement for the /users/WANTED_USERNAME/exists

This API will be used by the following issue

Screenshots

Signup group creation
screenshot-2019-10-29-15-34-13 screenshot-2019-10-29-15-35-10

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Phil Calder

Merge request reports