дополнение безопасности. не везде был сделан режим чтения

This commit is contained in:
2025-02-06 20:44:51 +03:00
parent 16c307103f
commit fa31d5570c
14 changed files with 65 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ public class PauseDVMPackage extends ConnectionPass<DVMPackage> {
}
machine =target.getMachine();
user = target.getUser();
return true;
return Global.mainModule.getAccount().CheckAuthorship(target.sender_address,Log);
}
@Override
protected void ServerAction() throws Exception {

View File

@@ -27,7 +27,7 @@ public class ResumeDVMPackage extends ConnectionPass<DVMPackage> {
}
machine = target.getMachine();
user = target.getUser();
return true;
return Global.mainModule.getAccount().CheckAuthorship(target.sender_address,Log);
}
@Override
protected void ServerAction() throws Exception {