1
0
Fork 0

add fix for permissions

master
Christopher Latza 2020-06-13 21:56:48 +02:00
parent db86e788f1
commit 36f410d1b5
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From c42a74fad3386e1b617fdd93a706709a546b74ab Mon Sep 17 00:00:00 2001
From: Christopher Latza <latzachristopher@live.de>
Date: Sat, 13 Jun 2020 21:56:02 +0200
Subject: [PATCH] fix permissions
---
OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
index 0c603b3244..3a7f754ab4 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
@@ -353,6 +353,8 @@ namespace OpenSim.Region.Framework.Scenes
public void AggregatePerms()
{
+ return;
+
lock(m_PermissionsLock)
{
// aux
@@ -420,7 +422,7 @@ namespace OpenSim.Region.Framework.Scenes
}
// recover move
- rootEveryonePerms &= (uint)PermissionMask.Move;
+ rootEveryonePerms &= PermissionMask.Move;
everyone |= rootEveryonePerms;
everyone &= ~(uint)PermissionMask.Modify;
if(noBaseTransfer)
--
2.27.0.windows.1