GenericCommunicationPermission() is still useless, so comment it out

This commit is contained in:
UbitUmarov
2021-12-30 15:20:15 +00:00
parent eb5912817b
commit b8c907ae87
2 changed files with 8 additions and 7 deletions

View File

@@ -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)

View File

@@ -859,13 +859,6 @@
shout_distance = 100
[EntityTransfer]
; The maximum distance in regions that an agent is allowed to teleport
; along the x or y axis. This is set to 65535 because current viewers
; can't handle teleports that are greater than this distance
; Setting to 0 will allow teleports of any distance
;
max_distance = 65535
; Allow avatars to cross into and out of the region.
AllowAvatarCrossing = true