Fixes a permissions bug where a user with group powers to always rez was not being given permission to rez on group land.

bullet-2.82
Diva Canto 2014-06-01 16:45:37 -07:00
parent 14a31c3e9b
commit 3aa99b9a7f
1 changed files with 5 additions and 1 deletions

View File

@ -469,7 +469,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
return false; return false;
} }
/// <summary> /// <summary>
/// Parse a user set configuration setting /// Parse a user set configuration setting
/// </summary> /// </summary>
@ -1473,6 +1473,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions
{ {
return true; return true;
} }
else if (parcel.LandData.GroupID != UUID.Zero && IsGroupMember(parcel.LandData.GroupID, owner, (ulong)GroupPowers.AllowRez))
{
return true;
}
else else
{ {
return false; return false;