отклонение запроса на Управление версиями

This commit is contained in:
2026-01-22 15:18:40 +03:00
parent 2522bc6af5
commit 5415afe264
12 changed files with 156 additions and 16 deletions

View File

@@ -188,7 +188,19 @@ void ProcessingSystem::processingClientDeAutorization(ClientHandler *client, Cli
void ProcessingSystem::processingClientBlockAuth(ClientHandler *client, bool block, QString type)
{
QByteArray arrayAnswer;
bool res = emit providerDBLMS->signal_BlockAutorization(block, client->getClient()->getFullName(), type);
if(res)
{//Блокировка одобрена
arrayAnswer = dataParser->ClientAnswer()->tryBlock(true, type);
}
else
{//Отказ
arrayAnswer = dataParser->ClientAnswer()->tryBlock(false, type);
}
client->sendXmlAnswer(arrayAnswer);
}
//упращенная деавторизация при выключении сервера