aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 18ec25f..dd4c14b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1803,8 +1803,13 @@ namespace OpenSim.Region.Framework.Scenes
1803 } 1803 }
1804 else 1804 else
1805 { 1805 {
1806 item.BasePermissions = objectGroup.GetEffectivePermissions(); 1806 uint ownerPerms = objectGroup.GetEffectivePermissions();
1807 item.CurrentPermissions = objectGroup.GetEffectivePermissions(); 1807 if ((objectGroup.RootPart.OwnerMask & (uint)PermissionMask.Modify) != 0)
1808 ownerPerms |= (uint)PermissionMask.Modify;
1809
1810 item.BasePermissions = ownerPerms;
1811 item.CurrentPermissions = ownerPerms;
1812
1808 item.NextPermissions = objectGroup.RootPart.NextOwnerMask; 1813 item.NextPermissions = objectGroup.RootPart.NextOwnerMask;
1809 item.EveryOnePermissions = objectGroup.RootPart.EveryoneMask; 1814 item.EveryOnePermissions = objectGroup.RootPart.EveryoneMask;
1810 item.GroupPermissions = objectGroup.RootPart.GroupMask; 1815 item.GroupPermissions = objectGroup.RootPart.GroupMask;