From 6c71a04da8150f7948df7a43f532e525d44cc4e7 Mon Sep 17 00:00:00 2001
From: mingchen
Date: Thu, 8 May 2008 19:37:57 +0000
Subject: *Added all the permission checks to the sceneexternalchecks and
modified permission module to follow this. *This makes permission checking
much more modular; allows restrictive and granting module to be made without
modifying the existing permission module
---
.../Environment/Interfaces/IScenePermissions.cs | 66 ----------------------
1 file changed, 66 deletions(-)
(limited to 'OpenSim/Region/Environment/Interfaces')
diff --git a/OpenSim/Region/Environment/Interfaces/IScenePermissions.cs b/OpenSim/Region/Environment/Interfaces/IScenePermissions.cs
index 5d161bb..06c6611 100644
--- a/OpenSim/Region/Environment/Interfaces/IScenePermissions.cs
+++ b/OpenSim/Region/Environment/Interfaces/IScenePermissions.cs
@@ -32,72 +32,6 @@ namespace OpenSim.Region.Environment.Interfaces
public interface IScenePermissions
{
bool BypassPermissions { get; set; }
-
- #region Object Permissions
-
- bool CanRezObject(LLUUID user, LLVector3 position, int count);
-
- ///
- /// Permissions check - can user delete an object?
- ///
- /// User attempting the delete
- /// Target object
- /// Has permission?
- bool CanDeRezObject(LLUUID user, LLUUID obj);
-
- bool CanCopyObject(LLUUID user, LLUUID obj);
-
- bool CanEditObject(LLUUID user, LLUUID obj);
-
- bool CanEditObjectPosition(LLUUID user, LLUUID obj);
-
- ///
- /// Permissions check - can user enter an object?
- ///
- /// User attempting move an object
- /// Source object-position
- /// Target object-position
- /// Has permission?
- bool CanObjectEntry(LLUUID user, LLVector3 oldPos, LLVector3 newPos);
-
- bool CanReturnObject(LLUUID user, LLUUID obj);
-
- #endregion
-
- #region Uncategorized permissions
-
- bool CanInstantMessage(LLUUID user, LLUUID target);
-
- bool CanInventoryTransfer(LLUUID user, LLUUID target);
-
- bool CanEditScript(LLUUID user, LLUUID script);
-
- bool CanRunScript(LLUUID user, LLUUID script);
-
- bool CanRunConsoleCommand(LLUUID user);
-
- bool CanTerraform(LLUUID user, LLVector3 position);
-
- #endregion
-
- #region Estate Permissions
-
- bool IsEstateManager(LLUUID user);
-
- bool GenericEstatePermission(LLUUID user);
-
- bool CanEditEstateTerrain(LLUUID user);
-
- bool CanRestartSim(LLUUID user);
-
- bool CanEditParcel(LLUUID user, ILandObject parcel);
-
- bool CanSellParcel(LLUUID user, ILandObject parcel);
-
- bool CanAbandonParcel(LLUUID user, ILandObject parcel);
-
- #endregion
-
uint GenerateClientFlags(LLUUID user, LLUUID objID);
}
}
--
cgit v1.1