Created UmbracoAuthorizeAttribute, UmbracoAuthorizedController for all base MVC controllers that required a back office user to be logged in.
Converted over the SaveTemplate and SavePartialView methods of the codeEditorSave legacy web service to use MVC services and marked them obsolete. Created a generic route to route all controllers found in the namespace Umbraco.Web.WebServices. Added a 'Url' property on the BasePage webforms class to expose a UrlHelper for use in views. Created UrlHelper extensions to easily get the base url path of the REST MVC web services. Converted the EditView page and JavaScript to use the new REST services with jQuery instead of crappy MS ajax.
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Umbraco.Web.Install
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ensures that the user must be in the Administrator or the Install role
|
||||
/// Ensures that the user must be logged in or that the application is not configured just yet.
|
||||
/// </summary>
|
||||
/// <param name="httpContext"></param>
|
||||
/// <returns></returns>
|
||||
|
||||
Reference in New Issue
Block a user