Skip to content

Onboarding a project with product analytics now requires Maintainer+

What does this MR do and why?

Modifies the permissions required to onboard product analytics from Developer+ to Maintainer+

Updates:

  • graphql init product analytics mutation (changes permissions)
  • clientside dashboards router (remove onboarding routes)
  • dashboards list (shows additional info when user has insufficient permissions)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Follow these instructions to setup Product Analytics in GDK.
  2. Create a new project / visit a not-onboarded project.
  3. Ensure you are signed in as a developer or lower role.
  4. Visit Project > Analytics > Analytics dashboards.
  5. Verify new UI prevents you from onboarding the project.
  6. Verify graphql mutation cannot be manually sent to bypass the UI

Related to #454600 (closed)

Edited by Elwyn Benson

Merge request reports