From 75e5217fff6fa72571555e02850d6cf4d9fe5893 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 13 Feb 2020 02:58:32 +0000 Subject: [PATCH] fix a group owned permission --- .../CoreModules/World/Permissions/PermissionsModule.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 51bc63d633..7dbb262e66 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs @@ -872,8 +872,9 @@ namespace OpenSim.Region.CoreModules.World.Permissions returnMask = ApplyObjectModifyMasks(grpEffectiveOwnerPerms, objflags, unlocked); returnMask |= (uint)PrimFlags.ObjectGroupOwned | - (uint)PrimFlags.ObjectYouOwner; - if((returnMask & (uint)PrimFlags.ObjectModify) != 0) + (uint)PrimFlags.ObjectYouOwner | + (uint)PrimFlags.ObjectAnyOwner; + if ((returnMask & (uint)PrimFlags.ObjectModify) != 0) returnMask |= (uint)PrimFlags.ObjectOwnerModify; return returnMask; }