diff options
author | Dr Scofield | 2009-04-27 11:51:25 +0000 |
---|---|---|
committer | Dr Scofield | 2009-04-27 11:51:25 +0000 |
commit | 515e62dc2f4614b140da222c082d3cd69c5960d4 (patch) | |
tree | eda95f708aad85c1fbbe14459111beb3790b8526 /OpenSim/Framework | |
parent | Add copyright headers. Formatting cleanup. (diff) | |
download | opensim-SC_OLD-515e62dc2f4614b140da222c082d3cd69c5960d4.zip opensim-SC_OLD-515e62dc2f4614b140da222c082d3cd69c5960d4.tar.gz opensim-SC_OLD-515e62dc2f4614b140da222c082d3cd69c5960d4.tar.bz2 opensim-SC_OLD-515e62dc2f4614b140da222c082d3cd69c5960d4.tar.xz |
From: Alan M Webb <alan_webb@us.ibm.com>
Added support for access control lists.
Scene: Added test to AddNewClient for an entry in the access
list when connecting to a region with limited access.
EstateSettings: Added an HasAccess(UUID) property to test for
an entry in the estate's access list.
RemoteAdmin: Add RPC calls for admin_acl_list, clear, add,
and remove.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/EstateSettings.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs index ff0445f..14bb9ef 100644 --- a/OpenSim/Framework/EstateSettings.cs +++ b/OpenSim/Framework/EstateSettings.cs | |||
@@ -358,6 +358,11 @@ namespace OpenSim.Framework | |||
358 | l_EstateBans.Remove(ban); | 358 | l_EstateBans.Remove(ban); |
359 | } | 359 | } |
360 | 360 | ||
361 | public bool HasAccess(UUID user) | ||
362 | { | ||
363 | return l_EstateAccess.Contains(user); | ||
364 | } | ||
365 | |||
361 | public void loadConfigurationOptions() | 366 | public void loadConfigurationOptions() |
362 | { | 367 | { |
363 | configMember.addConfigurationOption("billable_factor", | 368 | configMember.addConfigurationOption("billable_factor", |