Ability to set 'gitlab_username_changing_enabled' via Application Settings API

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

The current application setting for allow/disallow GitLab username to be changed can only be set via the /etc/gitlab/gitlab.rb file:

gitlab_rails\['gitlab_username_changing_enabled'\] = false

This blocks the ability to automate setting as well as audit if it is enabled or not.

Proposal

Add the ability to set this setting via Admin Application API

Intended users

Security Teams and GitLab Admins

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖