aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorDiva Canto2012-03-17 10:00:11 -0700
committerDiva Canto2012-03-17 19:49:14 -0700
commit5b9eaae50db720f3d6501307592fb5e9d3a9b0ee (patch)
treee15547622a1bf6c7104373930773db7afcd99aa5 /OpenSim/Region/Framework
parentFixes mantis #5923 (diff)
downloadopensim-SC_OLD-5b9eaae50db720f3d6501307592fb5e9d3a9b0ee.zip
opensim-SC_OLD-5b9eaae50db720f3d6501307592fb5e9d3a9b0ee.tar.gz
opensim-SC_OLD-5b9eaae50db720f3d6501307592fb5e9d3a9b0ee.tar.bz2
opensim-SC_OLD-5b9eaae50db720f3d6501307592fb5e9d3a9b0ee.tar.xz
Region access control! Region operators can now specify things like DisallowForeigners (means what it says) and DisallowResidents (means that only admins and managers can get into the region). This puts the never-completed AuthorizationService to good use. Note that I didn't implement a grid-wide Authorization service; this service implementation is done entirely locally on the simulator. This can be changed as usual by pluging in a different AuthorizationServicesConnector.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 6f2dd78..a6f9250 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3547,8 +3547,8 @@ namespace OpenSim.Region.Framework.Scenes
3547 if (!AuthorizationService.IsAuthorizedForRegion( 3547 if (!AuthorizationService.IsAuthorizedForRegion(
3548 agent.AgentID.ToString(), agent.firstname, agent.lastname, RegionInfo.RegionID.ToString(), out reason)) 3548 agent.AgentID.ToString(), agent.firstname, agent.lastname, RegionInfo.RegionID.ToString(), out reason))
3549 { 3549 {
3550 m_log.WarnFormat("[CONNECTION BEGIN]: Denied access to: {0} ({1} {2}) at {3} because the user does not have access to the region", 3550 m_log.WarnFormat("[CONNECTION BEGIN]: Denied access to: {0} ({1} {2}) at {3} because {4}",
3551 agent.AgentID, agent.firstname, agent.lastname, RegionInfo.RegionName); 3551 agent.AgentID, agent.firstname, agent.lastname, RegionInfo.RegionName, reason);
3552 3552
3553 return false; 3553 return false;
3554 } 3554 }