dont tell clients that we can edit a friend's attachments when we do forbid it
parent
9e6d9e0436
commit
114ac59314
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue