Stop users taking a copy of a in world prim that contains inventory items that have no copy permission set.
parent
6c8f9078ef
commit
027ae58dc4
|
@ -1109,6 +1109,16 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
|
|||
|
||||
if ((task.RootPart.EveryoneMask & PERM_COPY) != 0)
|
||||
permission = true;
|
||||
|
||||
if ((task.GetEffectivePermissions() & PERM_COPY) == 0)
|
||||
permission = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
SceneObjectGroup task = (SceneObjectGroup)m_scene.Entities[objectID];
|
||||
|
||||
if ((task.GetEffectivePermissions() & PERM_COPY) == 0)
|
||||
permission = false;
|
||||
}
|
||||
return permission;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue