diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index bd21ca7..76f21f7 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | |||
@@ -63,23 +63,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
63 | private bool m_bypassPermissions = false; | 63 | private bool m_bypassPermissions = false; |
64 | private bool m_bypassPermissionsValue = true; | 64 | private bool m_bypassPermissionsValue = true; |
65 | private bool m_debugPermissions = false; | 65 | private bool m_debugPermissions = false; |
66 | public bool BypassPermissions | ||
67 | { | ||
68 | get { return m_bypassPermissions; } | ||
69 | set { m_bypassPermissions = value; } | ||
70 | } | ||
71 | |||
72 | public bool BypassPermissionsValue | ||
73 | { | ||
74 | get { return m_bypassPermissionsValue; } | ||
75 | set { m_bypassPermissionsValue = value; } | ||
76 | } | ||
77 | 66 | ||
78 | public bool DebugPermissions | ||
79 | { | ||
80 | get { return m_debugPermissions; } | ||
81 | set { m_debugPermissions = value; } | ||
82 | } | ||
83 | #endregion | 67 | #endregion |
84 | 68 | ||
85 | #region ICommandableModule Members | 69 | #region ICommandableModule Members |
@@ -157,7 +141,10 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
157 | m_scene.RegisterModuleInterface<IScenePermissions>(this); | 141 | m_scene.RegisterModuleInterface<IScenePermissions>(this); |
158 | 142 | ||
159 | //Register functions with Scene External Checks! | 143 | //Register functions with Scene External Checks! |
144 | m_scene.ExternalChecks.addBypassPermissions(BypassPermissions); //FULLY IMPLEMENTED | ||
145 | m_scene.ExternalChecks.addSetBypassPermissions(SetBypassPermissions); //FULLY IMPLEMENTED | ||
160 | m_scene.ExternalChecks.addCheckAbandonParcel(CanAbandonParcel); //FULLY IMPLEMENTED | 146 | m_scene.ExternalChecks.addCheckAbandonParcel(CanAbandonParcel); //FULLY IMPLEMENTED |
147 | m_scene.ExternalChecks.addGenerateClientFlags(GenerateClientFlags); //NOT YET FULLY IMPLEMENTED | ||
161 | m_scene.ExternalChecks.addCheckBeGodLike(CanBeGodLike); //FULLY IMPLEMENTED | 148 | m_scene.ExternalChecks.addCheckBeGodLike(CanBeGodLike); //FULLY IMPLEMENTED |
162 | m_scene.ExternalChecks.addCheckDuplicateObject(CanDuplicateObject); //FULLY IMPLEMENTED | 149 | m_scene.ExternalChecks.addCheckDuplicateObject(CanDuplicateObject); //FULLY IMPLEMENTED |
163 | m_scene.ExternalChecks.addCheckDeleteObject(CanDeleteObject); //MAYBE FULLY IMPLEMENTED | 150 | m_scene.ExternalChecks.addCheckDeleteObject(CanDeleteObject); //MAYBE FULLY IMPLEMENTED |
@@ -260,6 +247,16 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
260 | } | 247 | } |
261 | #endregion | 248 | #endregion |
262 | 249 | ||
250 | public bool BypassPermissions() | ||
251 | { | ||
252 | return m_bypassPermissions; | ||
253 | } | ||
254 | |||
255 | public void SetBypassPermissions(bool value) | ||
256 | { | ||
257 | m_bypassPermissions=value; | ||
258 | } | ||
259 | |||
263 | #region Object Permissions | 260 | #region Object Permissions |
264 | 261 | ||
265 | public uint GenerateClientFlags(LLUUID user, LLUUID objID) | 262 | public uint GenerateClientFlags(LLUUID user, LLUUID objID) |