[go: up one dir, main page]

Skip to content

Being able to change email in Service Account UI and REST-API

Description

When creating a Service Account through the UI (Gitlab Self-Hosted), there is no option to set the email directly (like it is possible through the REST-API). Additionally, adding an email address though the service account's PAT using the REST-API, it is then marked as unconfirmed albeit the domain being allowed for registration.

So, in the end, having a different email than the generated one can only be done through 2 means:

  • The create service account API, by passing in the email.
  • Ask an administrator to change it.

Proposal

  • When creating a top-level-group service account through the UI, it should be possible to pass in an email, like it is possible with the API.
  • Email can then be changed using the UI ("Edit Service Account" modal).
  • Email can then be changed using the email REST-API and is marked as confirmed if the email domain is allowed for registration.