aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs9
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs6
-rw-r--r--bin/HttpServer.dllbin0 -> 124928 bytes
-rw-r--r--bin/OpenSim.ini.example2
4 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 44f5c2d..8278a1d 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -28,6 +28,8 @@
28using libsecondlife; 28using libsecondlife;
29using Nini.Config; 29using Nini.Config;
30using System; 30using System;
31using System.Collections;
32using System.Collections.Generic;
31using System.Reflection; 33using System.Reflection;
32using log4net; 34using log4net;
33using OpenSim.Region.Environment.Interfaces; 35using OpenSim.Region.Environment.Interfaces;
@@ -143,6 +145,13 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
143 145
144 IConfig myConfig = config.Configs["Startup"]; 146 IConfig myConfig = config.Configs["Startup"];
145 147
148 string permissionModules = myConfig.GetString("permissionmodules", "DefaultPermissionsModule");
149
150 List<string> modules=new List<string>(permissionModules.Split(','));
151
152 if(!modules.Contains("DefaultPermissionsModule"))
153 return;
154
146 m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", true); 155 m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", true);
147 156
148 m_scene.RegisterModuleInterface<IScenePermissions>(this); 157 m_scene.RegisterModuleInterface<IScenePermissions>(this);
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 2901a97..2829f7e 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -471,6 +471,12 @@ namespace OpenSim.Region.Environment.Scenes
471 471
472 public uint GenerateClientFlags(LLUUID ObjectID) 472 public uint GenerateClientFlags(LLUUID ObjectID)
473 { 473 {
474 if(m_scene.Permissions == null)
475 {
476 SceneObjectPart task=m_scene.GetSceneObjectPart(ObjectID);
477
478 return task.GetEffectiveObjectFlags() | (uint)2147483647;
479 }
474 return m_scene.Permissions.GenerateClientFlags(m_uuid, ObjectID); 480 return m_scene.Permissions.GenerateClientFlags(m_uuid, ObjectID);
475 } 481 }
476 482
diff --git a/bin/HttpServer.dll b/bin/HttpServer.dll
new file mode 100644
index 0000000..da1149c
--- /dev/null
+++ b/bin/HttpServer.dll
Binary files differ
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 2725bd0..62c03f0 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -72,6 +72,8 @@ physics = basicphysics
72 72
73startup_console_commands_file = "startup_commands.txt" 73startup_console_commands_file = "startup_commands.txt"
74shutdown_console_commands_file = "shutdown_commands.txt" 74shutdown_console_commands_file = "shutdown_commands.txt"
75
76;permissionmodules = "DefaultPermissionsModule"
75serverside_object_permissions = false 77serverside_object_permissions = false
76 78
77; if you would like to allow prims to be physical and move by physics with the physical checkbox in the client set this to true. 79; if you would like to allow prims to be physical and move by physics with the physical checkbox in the client set this to true.