Duo Agent Platform, render settings only on instance level

What does this MR do and why?

This MR partially reverts changes from: !197439 (merged)

It fixes the incorrect rendering of instance level settings (non-functional) in group level settings on .com

References

Screenshots or screen recordings

Type Before After
SaaS instance image image
SaaS group image image
Self managed group n/a n/a
Self managed instance 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 shows 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 #556382 (closed)

Edited by Fred de Gier

Merge request reports

Loading