diff options
author | Teravus Ovares | 2007-12-04 23:58:44 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-04 23:58:44 +0000 |
commit | 77dd997ef1489320c5872fd6c1d592390cbeb5f0 (patch) | |
tree | 35bdf2288710cb5220cfae0ee3e498e5540c3842 /OpenSim/Region/Environment | |
parent | keeping opensim safe for children -- made some namespace references less expl... (diff) | |
download | opensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.zip opensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.tar.gz opensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.tar.bz2 opensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.tar.xz |
*disabled some confusing code regarding permissions
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 12d5bdb..c117d4d 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1285,7 +1285,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1285 | } | 1285 | } |
1286 | else | 1286 | else |
1287 | { | 1287 | { |
1288 | clientFlags = ObjectFlags; | 1288 | //clientFlags = ObjectFlags; |
1289 | clientFlags = EveryoneMask; | ||
1289 | if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID)) | 1290 | if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID)) |
1290 | { | 1291 | { |
1291 | clientFlags = (clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy); | 1292 | clientFlags = (clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy); |
@@ -1295,7 +1296,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1295 | { | 1296 | { |
1296 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove; | 1297 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove; |
1297 | } | 1298 | } |
1298 | clientFlags = EveryoneMask; | 1299 | |
1299 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify; | 1300 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify; |
1300 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop; | 1301 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop; |
1301 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer; | 1302 | clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer; |