Fixed: once a user has rezzed an object, they could then duplicate it as much as they wanted even if the parcel's permissions had since been changed to disallow rezzing
parent
3185db7f94
commit
090f9bcece
|
@ -1009,9 +1009,11 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (part.OwnerID == owner)
|
if (part.OwnerID == owner)
|
||||||
return ((part.OwnerMask & PERM_COPY) != 0);
|
{
|
||||||
|
if ((part.OwnerMask & PERM_COPY) == 0)
|
||||||
if (part.GroupID != UUID.Zero)
|
return false;
|
||||||
|
}
|
||||||
|
else if (part.GroupID != UUID.Zero)
|
||||||
{
|
{
|
||||||
if ((part.OwnerID == part.GroupID) && ((owner != part.LastOwnerID) || ((part.GroupMask & PERM_TRANS) == 0)))
|
if ((part.OwnerID == part.GroupID) && ((owner != part.LastOwnerID) || ((part.GroupMask & PERM_TRANS) == 0)))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue