mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
GenericCommunicationPermission() is still useless, so comment it out
This commit is contained in:
@@ -1126,6 +1126,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
#endregion
|
||||
|
||||
#region Generic Permissions
|
||||
/* this still does nothing but waste time
|
||||
protected bool GenericCommunicationPermission(UUID user, UUID target)
|
||||
{
|
||||
// Setting this to true so that cool stuff can happen until we define what determines Generic Communication Permission
|
||||
@@ -1144,6 +1145,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
|
||||
return permission;
|
||||
}
|
||||
*/
|
||||
|
||||
public bool GenericEstatePermission(UUID user)
|
||||
{
|
||||
@@ -1551,6 +1553,8 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
|
||||
private bool CanInstantMessage(UUID user, UUID target)
|
||||
{
|
||||
return true; // we still did not define this
|
||||
/*
|
||||
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
|
||||
if (m_bypassPermissions) return m_bypassPermissionsValue;
|
||||
|
||||
@@ -1561,14 +1565,18 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
user = part.OwnerID;
|
||||
|
||||
return GenericCommunicationPermission(user, target);
|
||||
*/
|
||||
}
|
||||
|
||||
private bool CanInventoryTransfer(UUID user, UUID target)
|
||||
{
|
||||
return true; // we still did not define this
|
||||
/*
|
||||
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
|
||||
if (m_bypassPermissions) return m_bypassPermissionsValue;
|
||||
|
||||
return GenericCommunicationPermission(user, target);
|
||||
*/
|
||||
}
|
||||
|
||||
private bool CanIssueEstateCommand(UUID user, bool ownerCommand)
|
||||
|
||||
Reference in New Issue
Block a user