V10+ version of https://github.com/umbraco/Umbraco-CMS/pull/15638 (#15664)
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Umbraco.Cms.Web.BackOffice.Filters;
|
||||
/// Validates the incoming <see cref="ContentItemSave" /> model along with if the user is allowed to perform the
|
||||
/// operation
|
||||
/// </summary>
|
||||
internal sealed class ContentSaveValidationAttribute : TypeFilterAttribute
|
||||
public sealed class ContentSaveValidationAttribute : TypeFilterAttribute
|
||||
{
|
||||
public ContentSaveValidationAttribute(bool skipUserAccessValidation = false)
|
||||
: base(typeof(ContentSaveValidationFilter))
|
||||
|
||||
@@ -7,7 +7,7 @@ using Umbraco.Cms.Core.Services;
|
||||
|
||||
namespace Umbraco.Cms.Web.BackOffice.ModelBinders;
|
||||
|
||||
internal class BlueprintItemBinder : ContentItemBinder
|
||||
public class BlueprintItemBinder : ContentItemBinder
|
||||
{
|
||||
private readonly IContentService _contentService;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Umbraco.Cms.Web.BackOffice.ModelBinders;
|
||||
/// <summary>
|
||||
/// The model binder for <see cref="T:Umbraco.Web.Models.ContentEditing.ContentItemSave" />
|
||||
/// </summary>
|
||||
internal class ContentItemBinder : IModelBinder
|
||||
public class ContentItemBinder : IModelBinder
|
||||
{
|
||||
private readonly IContentService _contentService;
|
||||
private readonly IContentTypeService _contentTypeService;
|
||||
|
||||
Reference in New Issue
Block a user