Commit 88d11320 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'enable-environment-dashboard-on-prod' into 'master'

Enable Environment Dashboard for Self Managed Instances

See merge request gitlab-org/gitlab!19838
parents d3140f44 5d01b2e2
---
title: Enable environments dashboard by default
merge_request: 19838
author:
type: added
......@@ -57,7 +57,7 @@ class OperationsController < ApplicationController
end
def environments_dashboard_feature_flag
render_404 unless Feature.enabled?(:environments_dashboard, current_user)
render_404 unless Feature.enabled?(:environments_dashboard, current_user, default_enabled: true)
end
def load_projects(current_user)
......
......@@ -39,7 +39,7 @@ module EE
links << :analytics if ::Gitlab::Analytics.any_features_enabled?
if can?(current_user, :read_operations_dashboard)
links << :environments if ::Feature.enabled?(:environments_dashboard, current_user)
links << :environments if ::Feature.enabled?(:environments_dashboard, current_user, default_enabled: true)
links << :operations
end
......
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