summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authorsimon <none@none>2013-08-07 15:56:29 -0700
committersimon <none@none>2013-08-07 15:56:29 -0700
commitd27fc4ad338cb2839363ce2cca70359c82da5b98 (patch)
tree7c949e575c394bd134723b948788acbbf484d339 /indra/llinventory
parent237dbb26f3c54157a4240b539e40c92f98b9f75f (diff)
MAINT-2257 : Create ability to limit region/estate and parcel access by
either Piof or Group membership (viewer changes). Using Mnikolenko's patch
Diffstat (limited to 'indra/llinventory')
-rwxr-xr-xindra/llinventory/llparcel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp
index 37c603348e..fdb056b4a1 100755
--- a/indra/llinventory/llparcel.cpp
+++ b/indra/llinventory/llparcel.cpp
@@ -521,6 +521,11 @@ S32 LLParcel::blockAccess(const LLUUID& agent_id, const LLUUID& group_id,
return BA_ALLOWED;
}
+ if(getParcelFlag(PF_DENY_ANONYMOUS) && is_agent_identified && is_agent_transacted)
+ {
+ return BA_ALLOWED;
+ }
+
return BA_NOT_IN_GROUP;
}