fix. забыл делать тестирование недоступным неззарегнутым пользователям.

This commit is contained in:
2023-11-20 22:59:55 +03:00
parent e43feb9ab5
commit 277de7efe0
4 changed files with 22 additions and 35 deletions

View File

@@ -359,7 +359,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
public void EnableBugreports() {
UI.Clear(accountPanel);
accountPanel.add(SC10);
UI.getMainWindow().ShowTestingTab();
UI.getMainWindow().SwitchTestingTabs(true);
}
@Override
public void setUserRights() {
@@ -393,7 +393,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
case Undefined:
UI.Clear(accountPanel);
accountPanel.add(new CallbackWelcomeForm().content);
UI.getMainWindow().HideTestingTab();
UI.getMainWindow().SwitchTestingTabs(false);
break;
case User:
//видит только свои баги.