Skip to content

Hide Project PA settings if feature flag not available

What does this MR do and why?

Right now, users can see the Product Analytics section in a project's settings, this should be disabled unless :product_analytics_dashboards is enabled for that project

How to set up and validate locally

  1. Enable :product_analytics_dashboards for a project
  2. Go to Project Settings, and Product Analytics should appear under General
  3. Disable :product_analytics_dashboards for that project
  4. Refresh the page, the Product Analytics settings should be gone

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #412836 (closed)

Edited by Allen Cook

Merge request reports