mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* 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.
This commit is contained in:
@@ -320,6 +320,17 @@ namespace OpenSim
|
||||
}
|
||||
break;
|
||||
|
||||
case "permissions":
|
||||
// Treats each user as a super-admin when disabled
|
||||
foreach (Scene scene in m_localScenes)
|
||||
{
|
||||
if (Convert.ToBoolean(cmdparams[0]))
|
||||
scene.PermissionsMngr.EnablePermissions();
|
||||
else
|
||||
scene.PermissionsMngr.DisablePermissions();
|
||||
}
|
||||
break;
|
||||
|
||||
case "backup":
|
||||
foreach (Scene scene in m_localScenes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user