aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMic Bowman2011-12-29 16:37:16 -0800
committerMic Bowman2011-12-29 16:37:16 -0800
commit967ea519800a5a6b3bfba586172a218e545c2009 (patch)
tree8a7b0a9c641a05025be1de6703f0bb604793aade /OpenSim
parentAdded UserManagementModule.IsLocalGridUser(UUID) to be used throughout region... (diff)
downloadopensim-SC_OLD-967ea519800a5a6b3bfba586172a218e545c2009.zip
opensim-SC_OLD-967ea519800a5a6b3bfba586172a218e545c2009.tar.gz
opensim-SC_OLD-967ea519800a5a6b3bfba586172a218e545c2009.tar.bz2
opensim-SC_OLD-967ea519800a5a6b3bfba586172a218e545c2009.tar.xz
Set the local grid flag in the user account through the simian connector
This should make bi-directional hypergrid work.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs
index 91e2976..4350749 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs
@@ -287,6 +287,10 @@ namespace OpenSim.Services.Connectors.SimianGrid
287 account.UserFlags = response["UserFlags"].AsInteger(); 287 account.UserFlags = response["UserFlags"].AsInteger();
288 account.UserLevel = response["AccessLevel"].AsInteger(); 288 account.UserLevel = response["AccessLevel"].AsInteger();
289 account.UserTitle = response["UserTitle"].AsString(); 289 account.UserTitle = response["UserTitle"].AsString();
290 account.LocalToGrid = true;
291 if (response.ContainsKey("LocalToGrid"))
292 account.LocalToGrid = (response["LocalToGrid"].AsString() == "true" ? true : false);
293
290 GetFirstLastName(response["Name"].AsString(), out account.FirstName, out account.LastName); 294 GetFirstLastName(response["Name"].AsString(), out account.FirstName, out account.LastName);
291 295
292 // Cache the user account info 296 // Cache the user account info