mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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
This commit is contained in:
@@ -1009,9 +1009,11 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
return false;
|
||||
|
||||
if (part.OwnerID == owner)
|
||||
return ((part.OwnerMask & PERM_COPY) != 0);
|
||||
|
||||
if (part.GroupID != UUID.Zero)
|
||||
{
|
||||
if ((part.OwnerMask & PERM_COPY) == 0)
|
||||
return false;
|
||||
}
|
||||
else if (part.GroupID != UUID.Zero)
|
||||
{
|
||||
if ((part.OwnerID == part.GroupID) && ((owner != part.LastOwnerID) || ((part.GroupMask & PERM_TRANS) == 0)))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user