Hide disable PAT group setting on self-managed
What does this MR do and why?
Hide disable PAT group setting on self-managed
The ability to disable personal access tokens for users of a group is limited to GitLab.com with enterprise users. This setting is not functional on self-managed but was shown to users, causing confusion. This change ensures the setting is only shown for GitLab.com licensed groups.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- While running in standard mode (not specifying SaaS mode), in a group that has a premium or ultimate license applied, navigate to Group > Settings > General > Permissions and group features.
- Scroll near the bottom of the section and look for the Disable personal access tokens section and checkbox.
- Apply the changes from this merge request.
- Reload the page and observe the setting is no longer visible.
- Simulate SaaS
- Reload the page and observe the setting is visible again.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Drew Blessing