aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2015-12-13 12:14:31 +0000
committerUbitUmarov2015-12-13 12:14:31 +0000
commit5d6da6bb358b6d7e7f62317cd2b88c3b0074bcc0 (patch)
tree1fd5c04c6b191d46c9995ae0500016ce005005c1 /OpenSim/Region/Framework/Scenes
parentseveral changes to region and land access control - this may be a bit broken now (diff)
downloadopensim-SC-5d6da6bb358b6d7e7f62317cd2b88c3b0074bcc0.zip
opensim-SC-5d6da6bb358b6d7e7f62317cd2b88c3b0074bcc0.tar.gz
opensim-SC-5d6da6bb358b6d7e7f62317cd2b88c3b0074bcc0.tar.bz2
opensim-SC-5d6da6bb358b6d7e7f62317cd2b88c3b0074bcc0.tar.xz
fix: if no groups module, deny access
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs4
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs1
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 97b11c7..0691062 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4458,8 +4458,8 @@ namespace OpenSim.Region.Framework.Scenes
4458 4458
4459 // finally test groups 4459 // finally test groups
4460 4460
4461 if (m_groupsModule == null) // if no groups allow 4461 if (m_groupsModule == null) // if no groups refuse
4462 return true; 4462 return false;
4463 4463
4464 UUID[] estateGroups = RegionInfo.EstateSettings.EstateGroups; 4464 UUID[] estateGroups = RegionInfo.EstateSettings.EstateGroups;
4465 4465
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs
index 2255869..3d51a63 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs
@@ -39,6 +39,7 @@ using OpenSim.Region.CoreModules.Framework.EntityTransfer;
39using OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation; 39using OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation;
40using OpenSim.Region.CoreModules.World.Permissions; 40using OpenSim.Region.CoreModules.World.Permissions;
41using OpenSim.Tests.Common; 41using OpenSim.Tests.Common;
42using OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups;
42using System.Threading; 43using System.Threading;
43 44
44namespace OpenSim.Region.Framework.Scenes.Tests 45namespace OpenSim.Region.Framework.Scenes.Tests