fix: if no groups module, deny access

LSLKeyTest
UbitUmarov 2015-12-13 12:14:31 +00:00
parent f3c03aaa62
commit 5d6da6bb35
2 changed files with 3 additions and 2 deletions

View File

@ -4458,8 +4458,8 @@ namespace OpenSim.Region.Framework.Scenes
// finally test groups
if (m_groupsModule == null) // if no groups allow
return true;
if (m_groupsModule == null) // if no groups refuse
return false;
UUID[] estateGroups = RegionInfo.EstateSettings.EstateGroups;

View File

@ -39,6 +39,7 @@ using OpenSim.Region.CoreModules.Framework.EntityTransfer;
using OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation;
using OpenSim.Region.CoreModules.World.Permissions;
using OpenSim.Tests.Common;
using OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups;
using System.Threading;
namespace OpenSim.Region.Framework.Scenes.Tests