diff options
author | Diva Canto | 2012-03-17 10:00:11 -0700 |
---|---|---|
committer | Diva Canto | 2012-03-17 10:00:11 -0700 |
commit | 33c14cb107ecb67a3e971d6adaab17d173d52747 (patch) | |
tree | 401301804f123e686b23c3ff925a7a393eaf4c2c /OpenSim/Region/Framework | |
parent | Clean up "save iar" help (diff) | |
download | opensim-SC-33c14cb107ecb67a3e971d6adaab17d173d52747.zip opensim-SC-33c14cb107ecb67a3e971d6adaab17d173d52747.tar.gz opensim-SC-33c14cb107ecb67a3e971d6adaab17d173d52747.tar.bz2 opensim-SC-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')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
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 | } |