From 515e62dc2f4614b140da222c082d3cd69c5960d4 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Mon, 27 Apr 2009 11:51:25 +0000 Subject: From: Alan M Webb 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. --- OpenSim/Framework/EstateSettings.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Framework') 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 l_EstateBans.Remove(ban); } + public bool HasAccess(UUID user) + { + return l_EstateAccess.Contains(user); + } + public void loadConfigurationOptions() { configMember.addConfigurationOption("billable_factor", -- cgit v1.1