add fix for permissions
parent
db86e788f1
commit
36f410d1b5
|
@ -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
|
||||
|
Loading…
Reference in New Issue