mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
отклонение запроса на Управление версиями
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
//упращенная деавторизация при выключении сервера
|
||||
|
||||
Reference in New Issue
Block a user