v++
This commit is contained in:
@@ -101,7 +101,7 @@ public class PublishComponent extends ComponentsServerPass<Component> {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
unsafeEmail.Do(message, new Vector<>(Global.componentsServer.db.recipients.Data.values()));
|
||||
unsafeEmail.Do(message, Global.componentsServer.credentials_db.userAccounts.getActiveMails());
|
||||
//---
|
||||
if (target.getComponentType().equals(ComponentType.Sapfor_F) && f.fields.cbAssemblyOnServer.isSelected()) {
|
||||
Global.mainModule.getUI().getMainWindow().FocusTesting();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import _VisualDVM.ComponentsServer.UserAccount.AccountRole;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Passes.Server.ComponentsServerPass;
|
||||
import _VisualDVM.Repository.Server.ServerCode;
|
||||
@@ -13,7 +14,7 @@ public class SynchronizeCredentials extends ComponentsServerPass<Object> {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
return Global.mainModule.getAccount().CheckAdmin(Log) && SendRequest(ServerCode.ReceiveCredentialsDatabase);
|
||||
return Global.mainModule.getAccount().role.equals(AccountRole.Admin) && SendRequest(ServerCode.ReceiveCredentialsDatabase);
|
||||
}
|
||||
@Override
|
||||
protected void showPreparation() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user