mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 15:59:49 +02:00
Uncertified rez rights
This commit is contained in:
parent
ed40e41b94
commit
2cdd5c29f3
1 changed files with 3 additions and 3 deletions
|
@ -1298,10 +1298,10 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c
|
||||||
bool isCertified = !properties.getCertificateID().isEmpty();
|
bool isCertified = !properties.getCertificateID().isEmpty();
|
||||||
if (!allowed) {
|
if (!allowed) {
|
||||||
qCDebug(entities) << "Filtered entity add. ID:" << entityItemID;
|
qCDebug(entities) << "Filtered entity add. ID:" << entityItemID;
|
||||||
} else if (!senderNode->getCanRez() && !senderNode->getCanRezTmp()) {
|
} else if (!isCertified && !senderNode->getCanRez() && !senderNode->getCanRezTmp()) {
|
||||||
failedAdd = true;
|
failedAdd = true;
|
||||||
qCDebug(entities) << "User without 'rez rights' [" << senderNode->getUUID()
|
qCDebug(entities) << "User without 'uncertified rez rights' [" << senderNode->getUUID()
|
||||||
<< "] attempted to add an entity ID:" << entityItemID;
|
<< "] attempted to add an uncertified entity with ID:" << entityItemID;
|
||||||
} else if (isCertified && !senderNode->getCanRezCertified() && !senderNode->getCanRezTmpCertified()) {
|
} else if (isCertified && !senderNode->getCanRezCertified() && !senderNode->getCanRezTmpCertified()) {
|
||||||
failedAdd = true;
|
failedAdd = true;
|
||||||
qCDebug(entities) << "User without 'certified rez rights' [" << senderNode->getUUID()
|
qCDebug(entities) << "User without 'certified rez rights' [" << senderNode->getUUID()
|
||||||
|
|
Loading…
Reference in a new issue