Permissions & Authorization for Users #24
Initial Release; Includes Database and MVC refactoring
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18033
|
||||
// Runtime Version:4.0.30319.18051
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -28,12 +28,14 @@ namespace Disco.Web.Areas.Config.Views.Plugins
|
||||
using System.Web.WebPages;
|
||||
using Disco.BI.Extensions;
|
||||
using Disco.Models.Repository;
|
||||
using Disco.Services.Authorization;
|
||||
using Disco.Services.Web;
|
||||
using Disco.Web;
|
||||
using Disco.Web.Extensions;
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
|
||||
[System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Config/Views/Plugins/Configure.cshtml")]
|
||||
public partial class Configure : System.Web.Mvc.WebViewPage<Disco.Web.Areas.Config.Models.Plugins.PluginConfigurationViewModel>
|
||||
public partial class Configure : Disco.Services.Web.WebViewPage<Disco.Web.Areas.Config.Models.Plugins.PluginConfigurationViewModel>
|
||||
{
|
||||
public Configure()
|
||||
{
|
||||
@@ -43,6 +45,8 @@ namespace Disco.Web.Areas.Config.Views.Plugins
|
||||
|
||||
#line 2 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
|
||||
Authorization.Require(Claims.Config.Plugin.Configure);
|
||||
|
||||
ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Plugins", MVC.Config.Plugins.Index(), Model.Manifest.Name);
|
||||
|
||||
|
||||
@@ -51,7 +55,7 @@ namespace Disco.Web.Areas.Config.Views.Plugins
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 5 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
#line 7 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
using (Html.BeginForm())
|
||||
{
|
||||
|
||||
@@ -59,14 +63,14 @@ WriteLiteral("\r\n");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 7 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
#line 9 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
Write(Html.ValidationSummary(false));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 7 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
#line 9 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
|
||||
|
||||
|
||||
@@ -81,7 +85,7 @@ WriteLiteral(">\r\n");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 9 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
#line 11 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
Write(Html.PartialCompiled(Model.PluginViewType, Model.PluginViewModel));
|
||||
|
||||
|
||||
@@ -104,7 +108,7 @@ WriteLiteral(" value=\"Save Configuration\"");
|
||||
WriteLiteral(" />\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 14 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
#line 16 "..\..\Areas\Config\Views\Plugins\Configure.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
|
||||
Reference in New Issue
Block a user