Hide VSD link when no access to the parent group
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:
How to set up and validate locally
- Ensure that you're on ultimate license
- Seed a new VSA project:
FILTER=cycle_analytics SEED_VSA=1 bundle exec rake db:seed_fu
- Create a new user and give access only to the generated project
- Visit project level VSA: Project > Analyze > Value Stream Analytics
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #431541 (closed)
Edited by Adam Hegyi