формирование json пакета из разных конфигураций и тестов. промежуточный.
This commit is contained in:
@@ -3,6 +3,8 @@ import Common.Database.DataSet;
|
||||
import Common.UI.Menus_2023.ComponentsMenuBar.ComponentsMenuBar;
|
||||
import Common.UI.UI;
|
||||
import Common.Utils.Utils;
|
||||
import GlobalData.Account.Account;
|
||||
import GlobalData.Account.AccountRole;
|
||||
import GlobalData.GlobalDatabase;
|
||||
import GlobalData.Settings.DBSetting;
|
||||
import GlobalData.Settings.SettingName;
|
||||
@@ -318,11 +320,20 @@ public class Global {
|
||||
//---
|
||||
ActivateDB(); //тут current getAccount; роль по умолчанию всегда неизвестна.
|
||||
///--------------
|
||||
Pass_2021.passes.get(PassCode_2021.CheckAccount).Do();
|
||||
Current.set(Current.Account, new Account(){
|
||||
{
|
||||
name = "M";
|
||||
email= "vmk-post@yandex.ru";
|
||||
role = AccountRole.Admin;
|
||||
}
|
||||
});
|
||||
// Pass_2021.passes.get(PassCode_2021.CheckAccount).Do();
|
||||
//---------------
|
||||
componentsServer.ActivateDB();
|
||||
testingServer.ActivateDB();
|
||||
//-- чисто чтобы создать таблицы. соединения на стороне клиента не предвидится.
|
||||
|
||||
|
||||
testingServer.SetCurrentAccountDB(Current.getAccount().email);
|
||||
//--->>>
|
||||
if (db.settings.get(SettingName.AutoBugReportsLoad).toBoolean())
|
||||
|
||||
Reference in New Issue
Block a user