1
0
Fork 0
4Creative-Changes/CurrentPatches/0001-fix-permissions.patch

41 lines
1.8 KiB
Diff

From 25061435d1029ed9633ad9aab0532b1c90c8a036 Mon Sep 17 00:00:00 2001
From: Christopher Latza <latzachristopher@live.de>
Date: Sat, 13 Jun 2020 22:15:19 +0200
Subject: [PATCH] fix permissions
---
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index ed35ecb082..ce1b828682 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2514,6 +2514,11 @@ namespace OpenSim.Region.Framework.Scenes
public void AggregateInnerPerms()
{
+ AggregatedInnerOwnerPerms = (uint)PermissionMask.AllAndExport;
+ AggregatedInnerGroupPerms = (uint)PermissionMask.AllAndExport;
+ AggregatedInnerEveryonePerms = (uint)PermissionMask.AllAndExport;
+ return;
+
// assuming child prims permissions masks are irrelevant on a linkset
// root part is handle at SOG since its masks are the sog masks
const uint mask = (uint)PermissionMask.AllEffective;
@@ -2538,6 +2543,11 @@ namespace OpenSim.Region.Framework.Scenes
// same as above but called during group Effective Permission validation
public void AggregatedInnerPermsForGroup()
{
+ AggregatedInnerOwnerPerms = (uint)PermissionMask.AllAndExport;
+ AggregatedInnerGroupPerms = (uint)PermissionMask.AllAndExport;
+ AggregatedInnerEveryonePerms = (uint)PermissionMask.AllAndExport;
+ return;
+
// assuming child prims permissions masks are irrelevant on a linkset
// root part is handle at SOG since its masks are the sog masks
const uint mask = (uint)PermissionMask.AllEffective;
--
2.27.0.windows.1