From b4d1cf0009777fa95760419c955eb20e1027badf Mon Sep 17 00:00:00 2001 From: Melanie Date: Sat, 3 Oct 2009 14:22:29 +0100 Subject: [PATCH] Small permissions tweak --- .../CoreModules/World/Permissions/PermissionsModule.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 040d0a33a0..89d74b5c51 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs @@ -576,9 +576,12 @@ namespace OpenSim.Region.CoreModules.World.Permissions return objectOwnerMask; } + if ((objectOwnerMask & PermissionMask.Transfer != 0) && task.saleType != 0) + objectEveryoneMask |= ObjectFlags.ObjectTransfer; + // Group permissions if ((task.GroupID != UUID.Zero) && IsGroupMember(task.GroupID, user, 0)) - return objectGroupMask; + return objectGroupMask | objectEveryoneMask; return objectEveryoneMask; }