aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorDiva Canto2012-03-17 10:00:11 -0700
committerDiva Canto2012-03-17 10:00:11 -0700
commit33c14cb107ecb67a3e971d6adaab17d173d52747 (patch)
tree401301804f123e686b23c3ff925a7a393eaf4c2c /OpenSim/Region/Framework/Scenes
parentClean up "save iar" help (diff)
downloadopensim-SC_OLD-33c14cb107ecb67a3e971d6adaab17d173d52747.zip
opensim-SC_OLD-33c14cb107ecb67a3e971d6adaab17d173d52747.tar.gz
opensim-SC_OLD-33c14cb107ecb67a3e971d6adaab17d173d52747.tar.bz2
opensim-SC_OLD-33c14cb107ecb67a3e971d6adaab17d173d52747.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/Scenes')
-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 5b1b165..0042f7b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3533,8 +3533,8 @@ namespace OpenSim.Region.Framework.Scenes
3533 if (!AuthorizationService.IsAuthorizedForRegion( 3533 if (!AuthorizationService.IsAuthorizedForRegion(
3534 agent.AgentID.ToString(), agent.firstname, agent.lastname, RegionInfo.RegionID.ToString(), out reason)) 3534 agent.AgentID.ToString(), agent.firstname, agent.lastname, RegionInfo.RegionID.ToString(), out reason))
3535 { 3535 {
3536 m_log.WarnFormat("[CONNECTION BEGIN]: Denied access to: {0} ({1} {2}) at {3} because the user does not have access to the region", 3536 m_log.WarnFormat("[CONNECTION BEGIN]: Denied access to: {0} ({1} {2}) at {3} because {4}",
3537 agent.AgentID, agent.firstname, agent.lastname, RegionInfo.RegionName); 3537 agent.AgentID, agent.firstname, agent.lastname, RegionInfo.RegionName, reason);
3538 3538
3539 return false; 3539 return false;
3540 } 3540 }