aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorAdam Frisby2007-08-15 14:10:26 +0000
committerAdam Frisby2007-08-15 14:10:26 +0000
commit5699bb2e64766da634ca4be34bc2d8eab991f2e1 (patch)
treecf471be738a0ac69cf6a7a17b0a53183a7bfe68f /OpenSim/Region/Application
parentPartial fix for the permissions on edited notecards/scripts (now you might st... (diff)
downloadopensim-SC_OLD-5699bb2e64766da634ca4be34bc2d8eab991f2e1.zip
opensim-SC_OLD-5699bb2e64766da634ca4be34bc2d8eab991f2e1.tar.gz
opensim-SC_OLD-5699bb2e64766da634ca4be34bc2d8eab991f2e1.tar.bz2
opensim-SC_OLD-5699bb2e64766da634ca4be34bc2d8eab991f2e1.tar.xz
* Permissions! - You can now only perform certain functions (such as editing other peoples objects) if you have permission to do so.
* Moved OnPermissionError to EventManager - now triggers a standard blue alert. * Terraforming now requires permission via the permissions manager. [Defaults to admin-only] * Permissions manager is now substantiated in Scene * Buttload of new permissions added. * Estate manager operations now require various levels of permission to operate * OGS1 now produces 'summary reports' for a commsManager of each scene it maintains connections for. Reduces grid network traffic for ping checks. * Added new "permissions true" / "permissions false" console command to enable or disable permissions.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 887db67..9f95e01 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -320,6 +320,17 @@ namespace OpenSim
320 } 320 }
321 break; 321 break;
322 322
323 case "permissions":
324 // Treats each user as a super-admin when disabled
325 foreach (Scene scene in m_localScenes)
326 {
327 if (Convert.ToBoolean(cmdparams[0]))
328 scene.PermissionsMngr.EnablePermissions();
329 else
330 scene.PermissionsMngr.DisablePermissions();
331 }
332 break;
333
323 case "backup": 334 case "backup":
324 foreach (Scene scene in m_localScenes) 335 foreach (Scene scene in m_localScenes)
325 { 336 {