Allow administrators to enable or disable Personal Access tokens creation from the UI
Problem to solve
Administrators cannot enable or disable the creation of Personal Access Tokens at the instance level using the Admin page.
Proposal
The Application Settings API gives us the option to enable or disable creation of Personal Access Tokens on the instance level. We should have a corresponding option in the Admin > Settings > General
page.
We do have a related issue where it cannot be enabled back if done via the API so we have to use the console to turn it back on.
ApplicationSetting.last.update(disable_personal_access_tokens: false)
Intended users
Feature Usage Metrics
Does this feature require an audit event?
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.