Fixed issue with scheduling that was not possible.
This commit is contained in:
Bjarke Berg
2021-05-11 08:36:31 +02:00
parent 2eb84f7d00
commit 2c665e897e

View File

@@ -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;
}