diff options
author | Mic Bowman | 2011-12-29 16:37:16 -0800 |
---|---|---|
committer | Mic Bowman | 2011-12-29 16:37:16 -0800 |
commit | 967ea519800a5a6b3bfba586172a218e545c2009 (patch) | |
tree | 8a7b0a9c641a05025be1de6703f0bb604793aade | |
parent | Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout region... (diff) | |
download | opensim-SC-967ea519800a5a6b3bfba586172a218e545c2009.zip opensim-SC-967ea519800a5a6b3bfba586172a218e545c2009.tar.gz opensim-SC-967ea519800a5a6b3bfba586172a218e545c2009.tar.bz2 opensim-SC-967ea519800a5a6b3bfba586172a218e545c2009.tar.xz |
Set the local grid flag in the user account through the simian connector
This should make bi-directional hypergrid work.
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs | 4 |
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 |