Make display_gitlab_credits_user_data configurable in admin area
What does this MR do and why?
This MR makes the new setting display_gitlab_credits_user_data configurable in admin area
This new setting is to support https://gitlab.com/gitlab-org/gitlab/-/issues/580868+
MR Cadence
| Description | MR |
|---|---|
Add display_gitlab_credits_user_data to app and namespace settings |
!214508 (merged) |
Make display_gitlab_credits_user_data configurable in admin area |
|
Allow groups to update display_gitlab_credits_user_data
|
!215371 |
Hide user data when display_gitlab_credits_user_data is false |
!215439 |
Screenshots or screen recordings
How to set up and validate locally
- Go to https://gdk.test:3443/rails/features and enable
usage_billing_dev - Navigate to
Admin > Settings > Generaland expandVisibility and access controls - On
GitLab Credits dashboardcheck/uncheckDisplay user data - Save changes
- Compare with the value in
rails console:Gitlab::CurrentSettings.display_gitlab_credits_user_data
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 Sheldon Led
