Allow personal namespaces to use aggregated VSA
What does this MR do and why?
When visiting the Analytics page of a personal namespace project, the data collection notice is the only thing to see.
https://your.local.gitlab.instance/user/greatproject/-/value_stream_analytics
Allow personal namespaces to use aggregated VSA
Changelog: changed EE: true
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
p = Project.find(25) # a personal namespace project
aggregation = Analytics::CycleAnalytics::Aggregation.safe_create_for_namespace(p.project_namespace)
service = Analytics::CycleAnalytics::AggregatorService.new(aggregation: aggregation)
result = service.execute
Visiting https://your.local.gitlab.instance/user/greatproject/-/value_stream_analytics
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 #419854 (closed)
Edited by charlie ablett