aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r--OpenSim/Region/Environment/PermissionManager.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs
index 560ecf3..412c6e7 100644
--- a/OpenSim/Region/Environment/PermissionManager.cs
+++ b/OpenSim/Region/Environment/PermissionManager.cs
@@ -48,12 +48,20 @@ namespace OpenSim.Region.Environment
48 set { m_bypassPermissions = value; } 48 set { m_bypassPermissions = value; }
49 } 49 }
50 50
51 public PermissionManager()
52 {
53 }
51 54
52 public PermissionManager(Scene scene) 55 public PermissionManager(Scene scene)
53 { 56 {
54 m_scene = scene; 57 m_scene = scene;
55 } 58 }
56 59
60 public void Initialise(Scene scene)
61 {
62 m_scene = scene;
63 }
64
57 protected virtual void SendPermissionError(LLUUID user, string reason) 65 protected virtual void SendPermissionError(LLUUID user, string reason)
58 { 66 {
59 m_scene.EventManager.TriggerPermissionError(user, reason); 67 m_scene.EventManager.TriggerPermissionError(user, reason);
@@ -188,6 +196,12 @@ namespace OpenSim.Region.Environment
188 return GenericObjectPermission(user, obj); 196 return GenericObjectPermission(user, obj);
189 } 197 }
190 198
199 public virtual bool CanCopyObject(LLUUID user, LLUUID obj)
200 {
201 return true;
202 // return GenericObjectPermission(user, obj);
203 }
204
191 #endregion 205 #endregion
192 206
193 #region Communication Permissions 207 #region Communication Permissions