fix: if no groups module, deny access
parent
f3c03aaa62
commit
5d6da6bb35
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue