Skip to content

Hide VSD link when no access to the parent group

Adam Hegyi requested to merge 431541-optionally-hide-vsd-link-on-vsa-page into master

What does this MR do and why?

This changes hides the value stream dashboard link on the value stream analytics page when the user has no access to the parent group.

Screenshots or screen recordings

When the user has no access to the group, project-level VSA should not render the link to value stream dashboard:

image

How to set up and validate locally

  1. Ensure that you're on ultimate license
  2. Seed a new VSA project: FILTER=cycle_analytics SEED_VSA=1 bundle exec rake db:seed_fu
  3. Create a new user and give access only to the generated project
  4. Visit project level VSA: Project > Analyze > Value Stream Analytics
  5. The Value Stream Dashboards link should not show up

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

Edited by Adam Hegyi

Merge request reports