This commit is contained in:
@@ -99,7 +99,7 @@ namespace AyaNova.DataList
|
||||
TKey = "AuthorizationRoles",
|
||||
FieldKey = "roles",
|
||||
UiFieldDataType = (int)UiFieldDataType.Roles,
|
||||
//NOTE: not technically an enum list but this will trigger datagrid at client to fetch roles for special processing
|
||||
//NOTE: not technically an enum list but this will trigger datagrid at client to fetch roles for special handling
|
||||
EnumType = AyaNova.Util.StringUtil.TrimTypeName(typeof(AuthorizationRoles).ToString()),
|
||||
SqlValueColumnName = "auser.roles"
|
||||
});
|
||||
|
||||
@@ -55,14 +55,9 @@ namespace AyaNova.Biz
|
||||
InventoryFull | AccountingFull | TechLimited | TechFull | SubContractorLimited |
|
||||
SubContractorFull | CustomerLimited | CustomerFull | OpsAdminLimited | OpsAdminFull | SalesFull | SalesLimited,
|
||||
|
||||
///<summary>Anyone inside company</summary>
|
||||
AllInternalStaff = BizAdminLimited | BizAdminFull | DispatchLimited | DispatchFull | InventoryLimited |
|
||||
InventoryFull | AccountingFull | TechLimited | TechFull | OpsAdminLimited | OpsAdminFull | SalesFull | SalesLimited,
|
||||
|
||||
///<summary>Anyone except customers</summary>
|
||||
AllExceptCustomers = BizAdminLimited | BizAdminFull | DispatchLimited | DispatchFull | InventoryLimited |
|
||||
AllInternalRoles = BizAdminLimited | BizAdminFull | DispatchLimited | DispatchFull | InventoryLimited |
|
||||
InventoryFull | AccountingFull | TechLimited | TechFull | SubContractorLimited |
|
||||
SubContractorFull | OpsAdminLimited | OpsAdminFull | SalesFull | SalesLimited
|
||||
SubContractorFull | SalesFull | SalesLimited
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -570,9 +570,9 @@ namespace AyaNova.Util
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.OpsAdminLimited, UserType.NotService, false, "TEST_INACTIVE", "TEST_INACTIVE", 0, KnownUserTags);
|
||||
|
||||
//Alternate translation users for each stock translation
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.All, UserType.NotService, true, "de", "de", await TranslationBiz.TranslationNameToIdStaticAsync("de"), KnownUserTags);
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.All, UserType.NotService, true, "es", "es", await TranslationBiz.TranslationNameToIdStaticAsync("es"), KnownUserTags);
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.All, UserType.NotService, true, "fr", "fr", await TranslationBiz.TranslationNameToIdStaticAsync("fr"), KnownUserTags);
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.AllInternalRoles, UserType.NotService, true, "de", "de", await TranslationBiz.TranslationNameToIdStaticAsync("de"), KnownUserTags);
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.AllInternalRoles, UserType.NotService, true, "es", "es", await TranslationBiz.TranslationNameToIdStaticAsync("es"), KnownUserTags);
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.AllInternalRoles, UserType.NotService, true, "fr", "fr", await TranslationBiz.TranslationNameToIdStaticAsync("fr"), KnownUserTags);
|
||||
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user