diff options
author | Melanie | 2010-11-25 20:34:55 +0100 |
---|---|---|
committer | Melanie | 2010-11-25 20:34:55 +0100 |
commit | ee9aca9c5270e22407c3aa4aa96c76ca92f90bb9 (patch) | |
tree | bae269d89f90c22159946c494048293d1c6a9aa8 /OpenSim/Region/CoreModules | |
parent | Export the module interface for restart (diff) | |
download | opensim-SC_OLD-ee9aca9c5270e22407c3aa4aa96c76ca92f90bb9.zip opensim-SC_OLD-ee9aca9c5270e22407c3aa4aa96c76ca92f90bb9.tar.gz opensim-SC_OLD-ee9aca9c5270e22407c3aa4aa96c76ca92f90bb9.tar.bz2 opensim-SC_OLD-ee9aca9c5270e22407c3aa4aa96c76ca92f90bb9.tar.xz |
Add the ability for gods to impersonate users. For this, bit 6 needs to be
set in the target's UserFlags and the impersonator must have UserLevel 200
or above. The user can then log in using the target's name and their own
password.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/LocalUserAccountServiceConnector.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/LocalUserAccountServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/LocalUserAccountServiceConnector.cs index 30ebb21..9ecbcc6 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/LocalUserAccountServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/LocalUserAccountServiceConnector.cs | |||
@@ -172,6 +172,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts | |||
172 | return m_UserService.GetUserAccount(scopeID, Email); | 172 | return m_UserService.GetUserAccount(scopeID, Email); |
173 | } | 173 | } |
174 | 174 | ||
175 | public List<UserAccount> GetUserAccountsWhere(UUID scopeID, string query) | ||
176 | { | ||
177 | return null; | ||
178 | } | ||
179 | |||
175 | public List<UserAccount> GetUserAccounts(UUID scopeID, string query) | 180 | public List<UserAccount> GetUserAccounts(UUID scopeID, string query) |
176 | { | 181 | { |
177 | return m_UserService.GetUserAccounts(scopeID, query); | 182 | return m_UserService.GetUserAccounts(scopeID, query); |