forked from ddrilling/AsbCloudServer
61 lines
4.0 KiB
C#
61 lines
4.0 KiB
C#
namespace AsbCloudDb.Model.DefaultData
|
|
{
|
|
internal class EntityFillerUserRole : EntityFiller<UserRole>
|
|
{
|
|
public override UserRole[] GetData() => new UserRole[]{
|
|
new (){ Id = 1, Caption = "root", IdType = 1},
|
|
new (){ Id = 1100, Caption = "admin_cluster.view", IdType = 1},
|
|
new (){ Id = 1101, Caption = "admin_cluster.edit", IdType = 1},
|
|
new (){ Id = 1102, Caption = "admin_company.view", IdType = 1},
|
|
new (){ Id = 1103, Caption = "admin_company.edit", IdType = 1},
|
|
new (){ Id = 1104, Caption = "admin_company_type.view", IdType = 1},
|
|
new (){ Id = 1105, Caption = "admin_company_type.edit", IdType = 1},
|
|
new (){ Id = 1106, Caption = "admin_deposit.view", IdType = 1},
|
|
new (){ Id = 1107, Caption = "admin_deposit.edit", IdType = 1},
|
|
new (){ Id = 1108, Caption = "admin_permission.view", IdType = 1},
|
|
new (){ Id = 1109, Caption = "admin_permission.edit", IdType = 1},
|
|
new (){ Id = 1110, Caption = "admin_role.view", IdType = 1},
|
|
new (){ Id = 1111, Caption = "admin_role.edit", IdType = 1},
|
|
new (){ Id = 1112, Caption = "admin_telemetry.view", IdType = 1},
|
|
new (){ Id = 1113, Caption = "admin_user.view", IdType = 1},
|
|
new (){ Id = 1114, Caption = "admin_user.edit", IdType = 1},
|
|
new (){ Id = 1115, Caption = "admin_visit_log.view", IdType = 1},
|
|
new (){ Id = 1116, Caption = "admin_well.view", IdType = 1},
|
|
new (){ Id = 1117, Caption = "admin_well.edit", IdType = 1},
|
|
new (){ Id = 1200, Caption = "archive.view", IdType = 1},
|
|
new (){ Id = 1201, Caption = "cluster.view", IdType = 1},
|
|
new (){ Id = 1202, Caption = "composite.view", IdType = 1},
|
|
new (){ Id = 1203, Caption = "composite.edit", IdType = 1},
|
|
new (){ Id = 1204, Caption = "deposit.view", IdType = 1},
|
|
new (){ Id = 1205, Caption = "document.view", IdType = 1},
|
|
new (){ Id = 1206, Caption = "drillProcessFlow.view", IdType = 1},
|
|
new (){ Id = 1207, Caption = "drillProcessFlow.edit", IdType = 1},
|
|
new (){ Id = 1208, Caption = "measure.view", IdType = 1},
|
|
new (){ Id = 1209, Caption = "measure.edit", IdType = 1},
|
|
new (){ Id = 1210, Caption = "message.view", IdType = 1},
|
|
new (){ Id = 1211, Caption = "operations.view", IdType = 1},
|
|
new (){ Id = 1212, Caption = "operations.edit", IdType = 1},
|
|
new (){ Id = 1213, Caption = "params.view", IdType = 1},
|
|
new (){ Id = 1214, Caption = "params.edit", IdType = 1},
|
|
new (){ Id = 1215, Caption = "report.view", IdType = 1},
|
|
new (){ Id = 1216, Caption = "report.edit", IdType = 1},
|
|
new (){ Id = 1217, Caption = "setpoints.view", IdType = 1},
|
|
new (){ Id = 1218, Caption = "setpoints.edit", IdType = 1},
|
|
new (){ Id = 1219, Caption = "telemetry.view", IdType = 1},
|
|
new (){ Id = 1220, Caption = "telemetryAnalysis.view", IdType = 1},
|
|
new (){ Id = 1221, Caption = "well.view", IdType = 1},
|
|
new (){ Id = 1500, Caption = "Просмотр всего", IdType = 1},
|
|
new (){ Id = 1501, Caption = "file.edit", IdType = 1},
|
|
new (){ Id = 1502, Caption = "drillingProgram.edit", IdType = 1},
|
|
new (){ Id = 2000, Caption = "Заказчик", IdType = 0},
|
|
new (){ Id = 2001, Caption = "Супервайзер", IdType = 0},
|
|
new (){ Id = 2002, Caption = "Буровой подрядчик", IdType = 0},
|
|
new (){ Id = 2003, Caption = "Растворщик", IdType = 0},
|
|
new (){ Id = 2004, Caption = "Телеметрист", IdType = 0},
|
|
new (){ Id = 2005, Caption = "Долотный сервис", IdType = 0},
|
|
new (){ Id = 2006, Caption = "ГТИ", IdType = 0},
|
|
new (){ Id = 2007, Caption = "Цементирование", IdType = 0},
|
|
};
|
|
}
|
|
}
|