Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-07 01:28:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-07 01:28:28 +0300
commite4a92d342784ccbb929e7d2b1faa42d6c2f591a3 (patch)
tree0e850cae1809a9224f5dcd773933777dbd4c17de /app/controllers/projects
parent89e372068b3909b0e8cfb03af4da176357a1abbc (diff)
Add latest changes from gitlab-org/security/gitlab@15-7-stable-ee
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/grafana_api_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/grafana_api_controller.rb b/app/controllers/projects/grafana_api_controller.rb
index d5099367873..9cd511f6a11 100644
--- a/app/controllers/projects/grafana_api_controller.rb
+++ b/app/controllers/projects/grafana_api_controller.rb
@@ -4,6 +4,8 @@ class Projects::GrafanaApiController < Projects::ApplicationController
include RenderServiceResults
include MetricsDashboard
+ before_action :authorize_read_grafana!, only: :proxy
+
feature_category :metrics
urgency :low