Migrated section controller + LanguageTreeController, ApplciationTreeController.
Updated AngularJsonOnlyConfigurationAttribute to be a TypeFilterAttribute, to allow injeciton into the filter. Note: Left TODO about checking authorization of proxied trees..
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Umbraco.Web.Common.Install
|
||||
|
||||
[UmbracoApiController]
|
||||
[TypeFilter(typeof(HttpResponseExceptionFilter))]
|
||||
[TypeFilter(typeof(AngularJsonOnlyConfigurationAttribute))]
|
||||
[AngularJsonOnlyConfiguration]
|
||||
[InstallAuthorize]
|
||||
[Area(Umbraco.Core.Constants.Web.Mvc.InstallArea)]
|
||||
public class InstallApiController : ControllerBase
|
||||
@@ -95,7 +95,7 @@ namespace Umbraco.Web.Common.Install
|
||||
|
||||
/// <summary>
|
||||
/// Installs.
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
public async Task<InstallProgressResultModel> PostPerformInstall(InstallInstructions installModel)
|
||||
{
|
||||
if (installModel == null) throw new ArgumentNullException(nameof(installModel));
|
||||
|
||||
Reference in New Issue
Block a user