Add onboarding error for composite identity

What does this MR do and why?

This MR adds an error specific to starting a Flow via the API when the instance is not onboarded to use composite identity.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Run GDK in either SaaS or self-managed mode, go to the Duo settings in the instance admin: http://gdk.test:3000/admin/gitlab_duo

  2. Turn off GitLab DAP composite identity image

  3. Go to a Duo enabled project and create an issue e.g. "Create maintainers.md" open the issue and locate the "Issue to MR" button and click on it image

  4. Observe an error saying onboarding is not complete image

  5. Go back to the admin settings and enable composite identity, re-run step 3 and observe it does not have the same error.

image

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 Fred de Gier

Merge request reports

Loading