mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
fix shared group object item modify permission check
This commit is contained in:
@@ -267,7 +267,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return UUID.Zero;
|
||||
}
|
||||
|
||||
if (item.OwnerID.NotEqual(avatarId))
|
||||
if (!Permissions.CanEditObjectInventory(objectID, avatarId))
|
||||
return UUID.Zero;
|
||||
|
||||
InventoryType itemType = (InventoryType)item.InvType;
|
||||
|
||||
Reference in New Issue
Block a user