aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMainConsole.cs
diff options
context:
space:
mode:
authormingchen2008-05-13 16:22:57 +0000
committermingchen2008-05-13 16:22:57 +0000
commit32785921d0a4a074b92da0f4ec322cf451a4642f (patch)
treeae93cc8fb09a5d7b991e323617e3324042e30a8d /OpenSim/Region/Application/OpenSimMainConsole.cs
parent* Remove old historical grid inventory code (diff)
downloadopensim-SC-32785921d0a4a074b92da0f4ec322cf451a4642f.zip
opensim-SC-32785921d0a4a074b92da0f4ec322cf451a4642f.tar.gz
opensim-SC-32785921d0a4a074b92da0f4ec322cf451a4642f.tar.bz2
opensim-SC-32785921d0a4a074b92da0f4ec322cf451a4642f.tar.xz
*Complete redo of the permissions module
*Removed hardcoded permissions checks *Added permissions checks where needed
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMainConsole.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimMainConsole.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/Application/OpenSimMainConsole.cs b/OpenSim/Region/Application/OpenSimMainConsole.cs
index f33441f..39f2b7b 100644
--- a/OpenSim/Region/Application/OpenSimMainConsole.cs
+++ b/OpenSim/Region/Application/OpenSimMainConsole.cs
@@ -244,7 +244,6 @@ namespace OpenSim
244 m_console.Notice("force-update - force an update of prims in the scene"); 244 m_console.Notice("force-update - force an update of prims in the scene");
245 m_console.Notice("load-xml [filename] - load prims from XML"); 245 m_console.Notice("load-xml [filename] - load prims from XML");
246 m_console.Notice("load-xml2 [filename] - load prims from XML using version 2 format"); 246 m_console.Notice("load-xml2 [filename] - load prims from XML using version 2 format");
247 m_console.Notice("permissions [true/false] - turn on/off permissions on the scene");
248 m_console.Notice("restart - disconnects all clients and restarts the sims in the instance."); 247 m_console.Notice("restart - disconnects all clients and restarts the sims in the instance.");
249 m_console.Notice("remove-region [name] - remove a region"); 248 m_console.Notice("remove-region [name] - remove a region");
250 m_console.Notice("save-xml [filename] - save prims to XML"); 249 m_console.Notice("save-xml [filename] - save prims to XML");
@@ -368,12 +367,6 @@ namespace OpenSim
368 } 367 }
369 break; 368 break;
370 369
371 case "permissions":
372 // Treats each user as a super-admin when disabled
373 bool permissions = Convert.ToBoolean(cmdparams[0]);
374 m_sceneManager.SetBypassPermissionsOnCurrentScene(!permissions);
375 break;
376
377 case "backup": 370 case "backup":
378 m_sceneManager.BackupCurrentScene(); 371 m_sceneManager.BackupCurrentScene();
379 break; 372 break;
@@ -538,7 +531,6 @@ namespace OpenSim
538 } 531 }
539 532
540 break; 533 break;
541
542 default: 534 default:
543 string[] tmpPluginArgs = new string[cmdparams.Length + 1]; 535 string[] tmpPluginArgs = new string[cmdparams.Length + 1];
544 cmdparams.CopyTo(tmpPluginArgs, 1); 536 cmdparams.CopyTo(tmpPluginArgs, 1);