From 3ce6eb09aa703ebdf55d923314ef0b6b4757ecaf Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 25 Sep 2017 14:49:59 +1000 Subject: [PATCH] Ensures HealthCheckController is authorized to user with developer access (cherry picked from commit 7c4eb71f070c87ed7cb493e33556513d2518504c) --- src/Umbraco.Web/HealthCheck/HealthCheckController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web/HealthCheck/HealthCheckController.cs b/src/Umbraco.Web/HealthCheck/HealthCheckController.cs index 14bfaaea9f..6ce895ba22 100644 --- a/src/Umbraco.Web/HealthCheck/HealthCheckController.cs +++ b/src/Umbraco.Web/HealthCheck/HealthCheckController.cs @@ -3,12 +3,14 @@ using System.Collections.Generic; using System.Linq; using System.Web.Http; using Umbraco.Web.Editors; +using Umbraco.Web.WebApi.Filters; namespace Umbraco.Web.HealthCheck { /// /// The API controller used to display the health check info and execute any actions /// + [UmbracoApplicationAuthorize(Core.Constants.Applications.Developer)] public class HealthCheckController : UmbracoAuthorizedJsonController { private readonly IHealthCheckResolver _healthCheckResolver;