Permissions & Authorization for Users #24

Initial Release; Includes Database and MVC refactoring
This commit is contained in:
Gary Sharp
2013-10-10 19:13:16 +11:00
parent 172ce5524a
commit a099d68915
458 changed files with 40221 additions and 12130 deletions
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Models.UI.Config.AuthorizationRole
{
public interface ConfigAuthorizationRoleCreateModel : BaseUIModel
{
Models.Repository.AuthorizationRole AuthorizationRole { get; set; }
}
}
@@ -0,0 +1,14 @@
using Disco.Models.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Models.UI.Config.AuthorizationRole
{
public interface ConfigAuthorizationRoleIndexModel : BaseUIModel
{
List<IRoleToken> Tokens { get; set; }
}
}
@@ -0,0 +1,14 @@
using Disco.Models.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Models.UI.Config.AuthorizationRole
{
public interface ConfigAuthorizationRoleShowModel : BaseUIModel
{
IRoleToken Token { get; set; }
}
}
@@ -9,6 +9,9 @@ namespace Disco.Models.UI.Config.DeviceBatch
public interface ConfigDeviceBatchShowModel : BaseUIModel
{
Disco.Models.Repository.DeviceBatch DeviceBatch { get; set; }
Disco.Models.Repository.DeviceModel DefaultDeviceModel { get; set; }
List<Disco.Models.Repository.DeviceModel> DeviceModels { get; set; }
List<ConfigDeviceBatchShowModelMembership> DeviceModelMembers { get; set; }
@@ -9,6 +9,8 @@ namespace Disco.Models.UI.Config.DeviceProfile
public interface ConfigDeviceProfileShowModel : BaseUIModel
{
Disco.Models.Repository.DeviceProfile DeviceProfile { get; set; }
Disco.Models.BI.Config.OrganisationAddress DefaultOrganisationAddress { get; set; }
List<Disco.Models.BI.Config.OrganisationAddress> OrganisationAddresses { get; set; }
int DeviceCount { get; set; }