From 2cdd5c29f315d9269ed8150b13499bb7fcec5aaf Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Wed, 4 Oct 2017 09:58:29 -0700 Subject: [PATCH] Uncertified rez rights --- libraries/entities/src/EntityTree.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/entities/src/EntityTree.cpp b/libraries/entities/src/EntityTree.cpp index 0f5059d688..e067637db8 100644 --- a/libraries/entities/src/EntityTree.cpp +++ b/libraries/entities/src/EntityTree.cpp @@ -1298,10 +1298,10 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c bool isCertified = !properties.getCertificateID().isEmpty(); if (!allowed) { qCDebug(entities) << "Filtered entity add. ID:" << entityItemID; - } else if (!senderNode->getCanRez() && !senderNode->getCanRezTmp()) { + } else if (!isCertified && !senderNode->getCanRez() && !senderNode->getCanRezTmp()) { failedAdd = true; - qCDebug(entities) << "User without 'rez rights' [" << senderNode->getUUID() - << "] attempted to add an entity ID:" << entityItemID; + qCDebug(entities) << "User without 'uncertified rez rights' [" << senderNode->getUUID() + << "] attempted to add an uncertified entity with ID:" << entityItemID; } else if (isCertified && !senderNode->getCanRezCertified() && !senderNode->getCanRezTmpCertified()) { failedAdd = true; qCDebug(entities) << "User without 'certified rez rights' [" << senderNode->getUUID()