Show Duo Agent platform settings only on SaaS

What does this MR do and why?

This MR disables showing Duo Agent Platform settings on self-managed as it will be released in a later milestone. Partially revering: !198251 (merged)

References

Screenshots or screen recordings

Type Before After
Self-managed instance image image
Self-managed group n/a n/a
SaaS instance (no changes) image image
SaaS group (no changes) image image

How to set up and validate locally

  1. Run GDK in self-managed
  2. Open instance level settings: http://gdk.test:3000/admin/gitlab_duo
  3. Verify the screen does not show Gitlab Duo Agent Platform settings
  4. Run GDK in SaaS mode
  5. Open instance level settings: http://gdk.test:3000/admin/gitlab_duo
  6. Verify the screen shows Gitlab Duo Agent Platform settings
  7. Open group level settings: http://gdk.test:3000/groups/gitlab-duo/-/settings/gitlab_duo
  8. Verify that this does not show Gitlab Duo Agent Platform settings

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 #560787 (closed)

Edited by Fred de Gier

Merge request reports

Loading