aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-22 14:03:42 +0000
committerMelanie Thielker2008-09-22 14:03:42 +0000
commitc64551710ec29c124c5a4ed2871affc2339e228d (patch)
treed81a933bb10a3830232c62aadd81ef826fb50671 /OpenSim/Region/Environment
parentRemove comment in perms module after consulting with awebb (diff)
downloadopensim-SC_OLD-c64551710ec29c124c5a4ed2871affc2339e228d.zip
opensim-SC_OLD-c64551710ec29c124c5a4ed2871affc2339e228d.tar.gz
opensim-SC_OLD-c64551710ec29c124c5a4ed2871affc2339e228d.tar.bz2
opensim-SC_OLD-c64551710ec29c124c5a4ed2871affc2339e228d.tar.xz
Remove the ugly-as-sin "interop" hack script perms fudging in
object inventory
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index 061d961..f35bd59 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -532,24 +532,6 @@ namespace OpenSim.Region.Environment.Scenes
532 uint baseMask = item.BasePermissions; 532 uint baseMask = item.BasePermissions;
533 uint ownerMask = item.CurrentPermissions; 533 uint ownerMask = item.CurrentPermissions;
534 534
535 if (item.InvType == 10) // Script
536 {
537 if ((item.OwnerID != client.AgentId) && m_parentGroup.Scene.ExternalChecks.ExternalChecksCanViewScript(item.ItemID, UUID, client.AgentId))
538 {
539 ownerID = client.AgentId;
540 baseMask = 0x7fffffff;
541 ownerMask = 0x7fffffff;
542 everyoneMask = (uint)(PermissionMask.Move | PermissionMask.Transfer);
543 }
544 if ((item.OwnerID != client.AgentId) && m_parentGroup.Scene.ExternalChecks.ExternalChecksCanEditScript(item.ItemID, UUID, client.AgentId))
545 {
546 ownerID = client.AgentId;
547 baseMask = 0x7fffffff;
548 ownerMask = 0x7fffffff;
549 everyoneMask = (uint)(PermissionMask.Move | PermissionMask.Transfer | PermissionMask.Modify);
550 }
551 }
552
553 invString.AddItemStart(); 535 invString.AddItemStart();
554 invString.AddNameValueLine("item_id", item.ItemID.ToString()); 536 invString.AddNameValueLine("item_id", item.ItemID.ToString());
555 invString.AddNameValueLine("parent_id", UUID.ToString()); 537 invString.AddNameValueLine("parent_id", UUID.ToString());