From 3aa99b9a7f6843e54522c75d0071f4f99d0310b9 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 1 Jun 2014 16:45:37 -0700 Subject: Fixes a permissions bug where a user with group powers to always rez was not being given permission to rez on group land. --- OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index e6a4283..d8f9f8c 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs @@ -469,7 +469,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions return false; } - + /// /// Parse a user set configuration setting /// @@ -1473,6 +1473,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions { return true; } + else if (parcel.LandData.GroupID != UUID.Zero && IsGroupMember(parcel.LandData.GroupID, owner, (ulong)GroupPowers.AllowRez)) + { + return true; + } else { return false; -- cgit v1.1