*disabled some confusing code regarding permissions

afrisby
Teravus Ovares 2007-12-04 23:58:44 +00:00
parent f195725db4
commit 77dd997ef1
1 changed files with 3 additions and 2 deletions

View File

@ -1285,7 +1285,8 @@ namespace OpenSim.Region.Environment.Scenes
}
else
{
clientFlags = ObjectFlags;
//clientFlags = ObjectFlags;
clientFlags = EveryoneMask;
if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID))
{
clientFlags = (clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy);
@ -1295,7 +1296,7 @@ namespace OpenSim.Region.Environment.Scenes
{
clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove;
}
clientFlags = EveryoneMask;
clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify;
clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop;
clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer;