C# Class Rebel.Cms.Web.Mvc.Controllers.BackOffice.DefaultController

The controller used to render the back office application
We need to ensure that each action has the explicit RebelAuthorize attribute applied (except for Login) because this does not inherit from SecuredBackOfficeController
Inheritance: BackOfficeController
ファイルを表示 Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
ApplicationTray ( ) : System.Web.Mvc.PartialViewResult
DefaultController ( IBackOfficeRequestContext requestContext ) : System

InsufficientPermissions ( string url ) : System.Web.Mvc.ActionResult

Insufficient the permissions.

Private Methods

Method Description
App ( string appAlias ) : System.Web.Mvc.ActionResult
Login ( LoginDisplayType displayType = LoginDisplayType.StandardPage ) : System.Web.Mvc.ActionResult
LoginForm ( LoginModel model ) : System.Web.Mvc.ActionResult
Logout ( ) : System.Web.Mvc.ActionResult
Search ( string searchTerm, System.Guid treeId ) : System.Web.Mvc.ActionResult

Method Details

ApplicationTray() public method

public ApplicationTray ( ) : System.Web.Mvc.PartialViewResult
return System.Web.Mvc.PartialViewResult

DefaultController() public method

public DefaultController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
return System

InsufficientPermissions() public method

Insufficient the permissions.
public InsufficientPermissions ( string url ) : System.Web.Mvc.ActionResult
url string The URL.
return System.Web.Mvc.ActionResult