From 165fcd1aac4cf703384c4d8d062b7ce9795ef4b2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 14 Nov 2008 15:48:34 +0000 Subject: * Switch default permissions back to false (so they are not on) as they were two revisions ago, since it sounds like this was our agreed position from some time back * Make the default also false (to match what is in OpenSim.ini.example) --- .../Environment/Modules/World/Permissions/PermissionsModule.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index fe6256f..28e9850 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs @@ -62,7 +62,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions #region Bypass Permissions / Debug Permissions Stuff // Bypasses the permissions engine - private bool m_bypassPermissions = false; + private bool m_bypassPermissions = true; private bool m_bypassPermissionsValue = true; private bool m_debugPermissions = false; private bool m_allowGridGods = false; @@ -372,8 +372,6 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions if (IsEstateManager(user) && m_RegionOwnerIsGod) return objectOwnerMask; - - // Admin should be able to edit anything in the sim (including admin objects) if (IsAdministrator(user)) return objectOwnerMask; @@ -823,13 +821,11 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions return false; } - SceneObjectGroup group = (SceneObjectGroup)m_scene.Entities[objectID]; UUID objectOwner = group.OwnerID; locked = ((group.RootPart.OwnerMask & PERM_LOCKED) == 0); - // This is an exception to the generic object permission. // Administrators who lock their objects should not be able to move them, // however generic object permission should return true. -- cgit v1.1