aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-13 20:52:06 +0000
committerJustin Clarke Casey2008-11-13 20:52:06 +0000
commit1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c (patch)
treea992ec75370b17c6b5950e346b6154d444eb6e24 /OpenSim/Region/Environment/Modules/World
parent* Add (diff)
downloadopensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.zip
opensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.tar.gz
opensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.tar.bz2
opensim-SC-1fd32a5ab2a60cde1e863fe384383d6c8e40cf4c.tar.xz
* Rename all the previous methods to be User rather than Avatar (for extra bonus points)
public bool ExternalChecksCanCreateUserInventory(int invType, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteUserInventory(UUID itemID, UUID userID)
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 8ecea9e..87348fc 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -186,10 +186,10 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
186 m_scene.ExternalChecks.addCheckCanBuyLand(CanBuyLand); //NOT YET IMPLEMENTED 186 m_scene.ExternalChecks.addCheckCanBuyLand(CanBuyLand); //NOT YET IMPLEMENTED
187 m_scene.ExternalChecks.addCheckCanCopyObjectInventory(CanCopyObjectInventory); //NOT YET IMPLEMENTED 187 m_scene.ExternalChecks.addCheckCanCopyObjectInventory(CanCopyObjectInventory); //NOT YET IMPLEMENTED
188 m_scene.ExternalChecks.addCheckCanDeleteObjectInventory(CanDeleteObjectInventory); //NOT YET IMPLEMENTED 188 m_scene.ExternalChecks.addCheckCanDeleteObjectInventory(CanDeleteObjectInventory); //NOT YET IMPLEMENTED
189 m_scene.ExternalChecks.addCheckCanCreateAvatarInventory(CanCreateAvatarInventory); //NOT YET IMPLEMENTED 189 m_scene.ExternalChecks.addCheckCanCreateUserInventory(CanCreateUserInventory); //NOT YET IMPLEMENTED
190 m_scene.ExternalChecks.addCheckCanCopyAvatarInventory(CanCopyAvatarInventory); //NOT YET IMPLEMENTED 190 m_scene.ExternalChecks.addCheckCanCopyUserInventory(CanCopyUserInventory); //NOT YET IMPLEMENTED
191 m_scene.ExternalChecks.addCheckCanEditAvatarInventory(CanEditAvatarInventory); //NOT YET IMPLEMENTED 191 m_scene.ExternalChecks.addCheckCanEditUserInventory(CanEditUserInventory); //NOT YET IMPLEMENTED
192 m_scene.ExternalChecks.addCheckCanDeleteAvatarInventory(CanDeleteAvatarInventory); //NOT YET IMPLEMENTED 192 m_scene.ExternalChecks.addCheckCanDeleteUserInventory(CanDeleteUserInventory); //NOT YET IMPLEMENTED
193 m_scene.ExternalChecks.addCheckCanTeleport(CanTeleport); //NOT YET IMPLEMENTED 193 m_scene.ExternalChecks.addCheckCanTeleport(CanTeleport); //NOT YET IMPLEMENTED
194 194
195 //Register Debug Commands 195 //Register Debug Commands
@@ -1244,7 +1244,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
1244 /// <param name="invType"></param> 1244 /// <param name="invType"></param>
1245 /// <param name="userID"></param> 1245 /// <param name="userID"></param>
1246 /// <returns></returns> 1246 /// <returns></returns>
1247 public bool CanCreateAvatarInventory(int invType, UUID userID) 1247 public bool CanCreateUserInventory(int invType, UUID userID)
1248 { 1248 {
1249 //m_log.Debug("[PERMISSIONS]: CanCreateAvatarInventory called"); 1249 //m_log.Debug("[PERMISSIONS]: CanCreateAvatarInventory called");
1250 1250
@@ -1260,7 +1260,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
1260 /// <param name="itemID"></param> 1260 /// <param name="itemID"></param>
1261 /// <param name="userID"></param> 1261 /// <param name="userID"></param>
1262 /// <returns></returns> 1262 /// <returns></returns>
1263 public bool CanCopyAvatarInventory(UUID itemID, UUID userID) 1263 public bool CanCopyUserInventory(UUID itemID, UUID userID)
1264 { 1264 {
1265 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1265 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1266 if (m_bypassPermissions) return m_bypassPermissionsValue; 1266 if (m_bypassPermissions) return m_bypassPermissionsValue;
@@ -1274,7 +1274,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
1274 /// <param name="itemID"></param> 1274 /// <param name="itemID"></param>
1275 /// <param name="userID"></param> 1275 /// <param name="userID"></param>
1276 /// <returns></returns> 1276 /// <returns></returns>
1277 public bool CanEditAvatarInventory(UUID itemID, UUID userID) 1277 public bool CanEditUserInventory(UUID itemID, UUID userID)
1278 { 1278 {
1279 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1279 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1280 if (m_bypassPermissions) return m_bypassPermissionsValue; 1280 if (m_bypassPermissions) return m_bypassPermissionsValue;
@@ -1288,7 +1288,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
1288 /// <param name="itemID"></param> 1288 /// <param name="itemID"></param>
1289 /// <param name="userID"></param> 1289 /// <param name="userID"></param>
1290 /// <returns></returns> 1290 /// <returns></returns>
1291 public bool CanDeleteAvatarInventory(UUID itemID, UUID userID) 1291 public bool CanDeleteUserInventory(UUID itemID, UUID userID)
1292 { 1292 {
1293 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1293 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1294 if (m_bypassPermissions) return m_bypassPermissionsValue; 1294 if (m_bypassPermissions) return m_bypassPermissionsValue;