Resolve "Frontend: Enable group secrets manager"

What does this MR do and why?

This MR adds the capability to enable the group secret manager in the UI. For the moment it has been placed inside the General > Permissions and Group Features submenu, though it may be moved later.

The existing code for the project secret manager settings toggle has been extended to handle the group context, though there were more changes required due to the differences in how the group settings and project settings are rendered in the UI.

Since this MR is already quite large, the code to disable the secret manager will be added in a subsequent MR along with some clean up of the graphql folders to more cleanly handle the two different contexts.

References

Details about the related issue: #577453

Screenshots or screen recordings

Before / Feature flag missing state:

image

Deprovisioned State:

image

Provisioned State:

image

How to set up and validate locally

  1. Upload a Premium license (or above).
  2. Set up openbao on your gdk.
  3. Enable the secrets_manager_group feature flag.
  4. Go to your Settings > General > Permissions and group features in your group and toggle the group secrets manager.

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.

Related to #577453

Merge request reports

Loading