Merge branch 'master' of ssh://MyConnection/var/git/opensim
commit
fe4f312d55
|
@ -136,7 +136,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authorization
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(scene != null)
|
if (scene != null)
|
||||||
{
|
{
|
||||||
UserProfileData profile = scene.CommsManager.UserService.GetUserProfile(new UUID(userID));
|
UserProfileData profile = scene.CommsManager.UserService.GetUserProfile(new UUID(userID));
|
||||||
isAuthorized = IsAuthorizedForRegion(userID, profile.FirstName, profile.SurName,
|
isAuthorized = IsAuthorizedForRegion(userID, profile.FirstName, profile.SurName,
|
||||||
|
|
|
@ -3253,7 +3253,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
if (AuthorizationService != null)
|
if (AuthorizationService != null)
|
||||||
{
|
{
|
||||||
if(!AuthorizationService.IsAuthorizedForRegion(agent.AgentID.ToString(), RegionInfo.RegionID.ToString()))
|
if (!AuthorizationService.IsAuthorizedForRegion(agent.AgentID.ToString(), RegionInfo.RegionID.ToString()))
|
||||||
{
|
{
|
||||||
m_log.WarnFormat("[CONNECTION BEGIN]: Denied access to: {0} ({1} {2}) at {3} because the user does not have access to the region",
|
m_log.WarnFormat("[CONNECTION BEGIN]: Denied access to: {0} ({1} {2}) at {3} because the user does not have access to the region",
|
||||||
agent.AgentID, agent.firstname, agent.lastname, RegionInfo.RegionName);
|
agent.AgentID, agent.firstname, agent.lastname, RegionInfo.RegionName);
|
||||||
|
|
Loading…
Reference in New Issue