mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
dont tell clients that we can edit a friend's attachments when we do forbid it
This commit is contained in:
@@ -705,7 +705,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
if (user == objectOwner)
|
||||
return PermissionClass.Owner;
|
||||
|
||||
if (IsFriendWithPerms(user, objectOwner))
|
||||
if (IsFriendWithPerms(user, objectOwner) && !obj.ParentGroup.IsAttachment)
|
||||
return PermissionClass.Owner;
|
||||
|
||||
// Estate users should be able to edit anything in the sim if RegionOwnerIsGod is set
|
||||
|
||||
Reference in New Issue
Block a user