Adds TODOs, puts back UmbracoRequireHttpsAttribute but in a nicer way, ensures test classes initialize the authz policies with the test scheme
This commit is contained in:
@@ -7,6 +7,8 @@ namespace Umbraco.Web.Common.Controllers
|
||||
/// </summary>
|
||||
public abstract class UmbracoApiController : UmbracoApiControllerBase, IDiscoverable
|
||||
{
|
||||
// TODO: Should this only exist in the back office project? These really are only ever used for the back office AFAIK
|
||||
|
||||
protected UmbracoApiController()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -19,6 +19,8 @@ namespace Umbraco.Web.Common.Controllers
|
||||
[UmbracoApiController]
|
||||
public abstract class UmbracoApiControllerBase : ControllerBase, IUmbracoFeature
|
||||
{
|
||||
// TODO: Should this only exist in the back office project? These really are only ever used for the back office AFAIK
|
||||
|
||||
public UmbracoApiControllerBase()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -5,6 +5,8 @@ namespace Umbraco.Web.Common.Controllers
|
||||
{
|
||||
public class UmbracoApiControllerTypeCollectionBuilder : TypeCollectionBuilderBase<UmbracoApiControllerTypeCollectionBuilder, UmbracoApiControllerTypeCollection, UmbracoApiController>
|
||||
{
|
||||
// TODO: Should this only exist in the back office project? These really are only ever used for the back office AFAIK
|
||||
|
||||
protected override UmbracoApiControllerTypeCollectionBuilder This => this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user