diff options
author | Diva Canto | 2013-09-05 07:44:27 -0700 |
---|---|---|
committer | Diva Canto | 2013-09-05 07:48:10 -0700 |
commit | e2b7d941b601bfeb5923a66f6dd0aaf17b76db91 (patch) | |
tree | fbdfe304c4cc5e2ce61511c9a151417068defc4d /OpenSim/Addons/Groups | |
parent | minor: add doc about DefaultHGRegion and some of the other GridService region... (diff) | |
download | opensim-SC_OLD-e2b7d941b601bfeb5923a66f6dd0aaf17b76db91.zip opensim-SC_OLD-e2b7d941b601bfeb5923a66f6dd0aaf17b76db91.tar.gz opensim-SC_OLD-e2b7d941b601bfeb5923a66f6dd0aaf17b76db91.tar.bz2 opensim-SC_OLD-e2b7d941b601bfeb5923a66f6dd0aaf17b76db91.tar.xz |
Restore group membership check for HG users in QueryAccess.
Diffstat (limited to 'OpenSim/Addons/Groups')
-rw-r--r-- | OpenSim/Addons/Groups/Hypergrid/GroupsServiceHGConnectorModule.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Addons/Groups/Hypergrid/GroupsServiceHGConnectorModule.cs b/OpenSim/Addons/Groups/Hypergrid/GroupsServiceHGConnectorModule.cs index 4642b2a..7d48516 100644 --- a/OpenSim/Addons/Groups/Hypergrid/GroupsServiceHGConnectorModule.cs +++ b/OpenSim/Addons/Groups/Hypergrid/GroupsServiceHGConnectorModule.cs | |||
@@ -623,10 +623,13 @@ namespace OpenSim.Groups | |||
623 | if (agent != null) | 623 | if (agent != null) |
624 | break; | 624 | break; |
625 | } | 625 | } |
626 | if (agent == null) // oops | 626 | if (agent != null) |
627 | return AgentID.ToString(); | 627 | return Util.ProduceUserUniversalIdentifier(agent); |
628 | |||
629 | // we don't know anything about this foreign user | ||
630 | // try asking the user management module, which may know more | ||
631 | return m_UserManagement.GetUserUUI(AgentID); | ||
628 | 632 | ||
629 | return Util.ProduceUserUniversalIdentifier(agent); | ||
630 | } | 633 | } |
631 | 634 | ||
632 | private string AgentUUIForOutside(string AgentIDStr) | 635 | private string AgentUUIForOutside(string AgentIDStr) |