From 7c4eb71f070c87ed7cb493e33556513d2518504c 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 --- 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 153c151f99..622b3e6acc 100644 --- a/src/Umbraco.Web/HealthCheck/HealthCheckController.cs +++ b/src/Umbraco.Web/HealthCheck/HealthCheckController.cs @@ -6,12 +6,14 @@ using System.Web.Http; using Umbraco.Core.Configuration; using Umbraco.Core.Configuration.HealthChecks; 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;