Commit da017f27 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'nfriend-enable-group_ci_cd_analytics-f' into 'master'

Enable the `group_ci_cd_analytics_page` feature flag by default

See merge request gitlab-org/gitlab!53295
parents de0fce61 f309c991
...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/292601 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/292601
milestone: '13.8' milestone: '13.8'
type: development type: development
group: group::release group: group::release
default_enabled: false default_enabled: true
...@@ -8,6 +8,6 @@ class Groups::Analytics::CiCdAnalyticsController < Groups::Analytics::Applicatio ...@@ -8,6 +8,6 @@ class Groups::Analytics::CiCdAnalyticsController < Groups::Analytics::Applicatio
before_action -> { authorize_view_by_action!(:view_group_ci_cd_analytics) } before_action -> { authorize_view_by_action!(:view_group_ci_cd_analytics) }
def show def show
render_404 unless Feature.enabled?(:group_ci_cd_analytics_page, @group) render_404 unless Feature.enabled?(:group_ci_cd_analytics_page, @group, default_enabled: true)
end end
end end
...@@ -147,7 +147,7 @@ module EE ...@@ -147,7 +147,7 @@ module EE
links << :iterations links << :iterations
end end
if ::Feature.enabled?(:group_ci_cd_analytics_page, @group) && @group.feature_available?(:group_ci_cd_analytics) && can?(current_user, :view_group_ci_cd_analytics, @group) if ::Feature.enabled?(:group_ci_cd_analytics_page, @group, default_enabled: true) && @group.feature_available?(:group_ci_cd_analytics) && can?(current_user, :view_group_ci_cd_analytics, @group)
links << :group_ci_cd_analytics links << :group_ci_cd_analytics
end end
......
---
title: Add group-level CI/CD Analytics page with release stats
merge_request: 53295
author:
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment