aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/UserConfig.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Framework/UserConfig.cs b/OpenSim/Framework/UserConfig.cs
index 6cf526c..87ba271 100644
--- a/OpenSim/Framework/UserConfig.cs
+++ b/OpenSim/Framework/UserConfig.cs
@@ -46,6 +46,7 @@ namespace OpenSim.Framework
46 public string GridSendKey = String.Empty; 46 public string GridSendKey = String.Empty;
47 public uint HttpPort = DefaultHttpPort; 47 public uint HttpPort = DefaultHttpPort;
48 public bool HttpSSL = DefaultHttpSSL; 48 public bool HttpSSL = DefaultHttpSSL;
49 public uint DefaultUserLevel = 0;
49 50
50 private Uri m_inventoryUrl; 51 private Uri m_inventoryUrl;
51 52
@@ -122,7 +123,11 @@ namespace OpenSim.Framework
122 configMember.addConfigurationOption("default_Y", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, 123 configMember.addConfigurationOption("default_Y", ConfigurationOption.ConfigurationTypes.TYPE_UINT32,
123 "Known good region Y", "1000", false); 124 "Known good region Y", "1000", false);
124 configMember.addConfigurationOption("enable_llsd_login", ConfigurationOption.ConfigurationTypes.TYPE_BOOLEAN, 125 configMember.addConfigurationOption("enable_llsd_login", ConfigurationOption.ConfigurationTypes.TYPE_BOOLEAN,
125 "Enable LLSD login support [Currently used by libsl based clients/bots]? true/false", true.ToString(), false); 126 "Enable LLSD login support [Currently used by libsl based clients/bots]? true/false", true.ToString(), false);
127
128 configMember.addConfigurationOption("default_loginLevel", ConfigurationOption.ConfigurationTypes.TYPE_UINT32,
129 "Minimum Level a user should have to login [0 default]", "0", false);
130
126 } 131 }
127 132
128 public bool handleIncomingConfiguration(string configuration_key, object configuration_result) 133 public bool handleIncomingConfiguration(string configuration_key, object configuration_result)
@@ -165,9 +170,13 @@ namespace OpenSim.Framework
165 case "enable_llsd_login": 170 case "enable_llsd_login":
166 EnableLLSDLogin = (bool)configuration_result; 171 EnableLLSDLogin = (bool)configuration_result;
167 break; 172 break;
173
174 case "default_loginLevel":
175 DefaultUserLevel = (uint)configuration_result;
176 break;
168 } 177 }
169 178
170 return true; 179 return true;
171 } 180 }
172 } 181 }
173} \ No newline at end of file 182}