This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user