This commit is contained in:
2020-05-01 01:01:25 +00:00
parent 7efa5c7fc4
commit eeb1e14756
2 changed files with 2 additions and 13 deletions

View File

@@ -29,9 +29,7 @@ namespace AyaNova.Biz
case AyaType.Widget:
return new WidgetBiz(dbcontext, userId, ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID, roles);
case AyaType.ServerJob:
return new JobOperationsBiz(dbcontext, userId, roles);
case AyaType.AyaNova7Import:
return new ImportAyaNova7Biz(dbcontext, userId, roles);
return new JobOperationsBiz(dbcontext, userId, roles);
case AyaType.TrialSeeder:
return new TrialBiz(dbcontext, userId, roles);
case AyaType.Translation:

View File

@@ -115,16 +115,7 @@ namespace AyaNova.Biz
ReadFullRecord = AuthorizationRoles.OpsAdminLimited | AuthorizationRoles.BizAdminFull | AuthorizationRoles.BizAdminLimited
});
////////////////////////////////////////////////////////////
//AyaNova7Import
//Only opsfull can change operations and view
roles.Add(AyaType.AyaNova7Import, new BizRoleSet()
{
Change = AuthorizationRoles.OpsAdminFull,
ReadFullRecord = AuthorizationRoles.NoRole
});
////////////////////////////////////////////////////////////
//METRICS
//