Skip to content

Add option to disable email, password and name changing

What does this MR do?

These options gives the system admin the ability to disable a user from changing their primary email, their given name at registration, and their password.

Are there points in the code the reviewer needs to double check?

It's worth going over all of it -- this is my first MR.

Why was this MR needed?

This is useful for configurations which primarily integrate with omniauth services as it prevents double-account creation (due to changing their email) and the restriction of only using the authentication service instead of utilising GitLabs authenticataion mechanismsm, hence disabling changing of password. In addition, it gives the sysadmin the ability to allow the authentication service to provide the email and name attributes only.

Does this MR meet the acceptance criteria?

Merge request reports

Loading