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 // finally test groups
if (m_groupsModule == null) // if no groups allow if (m_groupsModule == null) // if no groups refuse
return true; return false;
UUID[] estateGroups = RegionInfo.EstateSettings.EstateGroups; 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.ServiceConnectorsOut.Simulation;
using OpenSim.Region.CoreModules.World.Permissions; using OpenSim.Region.CoreModules.World.Permissions;
using OpenSim.Tests.Common; using OpenSim.Tests.Common;
using OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups;
using System.Threading; using System.Threading;
namespace OpenSim.Region.Framework.Scenes.Tests namespace OpenSim.Region.Framework.Scenes.Tests