From 2c665e897e7c0170ac41751968ed94c6b2b600ef Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Tue, 11 May 2021 08:36:31 +0200 Subject: [PATCH] https://github.com/umbraco/Umbraco-CMS/issues/10251 Fixed issue with scheduling that was not possible. --- .../Filters/ContentSaveValidationAttribute.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs b/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs index beadb10fc7..d4aafe83ff 100644 --- a/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs +++ b/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs @@ -6,13 +6,13 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; +using Umbraco.Cms.Core; using Umbraco.Cms.Core.Actions; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Core.Models.ContentEditing; using Umbraco.Cms.Core.Services; using Umbraco.Cms.Web.BackOffice.Authorization; using Umbraco.Cms.Web.Common.Authorization; -using Constants = Umbraco.Cms.Core.Constants; namespace Umbraco.Cms.Web.BackOffice.Filters { @@ -228,7 +228,6 @@ namespace Umbraco.Cms.Web.BackOffice.Filters if (!authorizationResult.Succeeded) { - actionContext.Result = new ForbidResult(); return false; }