Permissions & Authorization for Users #24
Initial Release; Includes Database and MVC refactoring
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
@model Disco.Web.Areas.Config.Models.DeviceModel.ComponentsModel
|
||||
@{
|
||||
Authorization.Require(Claims.Config.DeviceModel.Show);
|
||||
|
||||
ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Device Models", MVC.Config.DeviceModel.Index(null), "Generic Components");
|
||||
}
|
||||
@Html.Partial(MVC.Config.DeviceModel.Views._DeviceComponentsTable, Model)
|
||||
Reference in New Issue
Block a user