mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
fix: if no groups module, deny access
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user