diff options
author | Justin Clark-Casey (justincc) | 2010-04-05 19:37:02 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-05 19:37:02 +0100 |
commit | 9ecad5041944ad51a815972ace5366430973503c (patch) | |
tree | 9506d7568dd215a21fc2b3aee5df1ba39b56a23c /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Updates to config files for groups (diff) | |
download | opensim-SC-9ecad5041944ad51a815972ace5366430973503c.zip opensim-SC-9ecad5041944ad51a815972ace5366430973503c.tar.gz opensim-SC-9ecad5041944ad51a815972ace5366430973503c.tar.bz2 opensim-SC-9ecad5041944ad51a815972ace5366430973503c.tar.xz |
Partially implement share with group option for object inventory items
If serverside permissions are off then this works as expected. Previously, it was impossible for more than one person to edit such items even if permissions were off.
If serverside permissions are on then this works as expected if the object was created by an avatar who had the required group active.
However, if the group for the object is later set then the contained item is still not editable. This may be linked to a wider bug where the object is still not modifiable by the group anyway
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 31c0be1..3b7f38e 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1160,6 +1160,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1160 | item = LibraryService.LibraryRootFolder.FindItem(itemID); | 1160 | item = LibraryService.LibraryRootFolder.FindItem(itemID); |
1161 | } | 1161 | } |
1162 | 1162 | ||
1163 | // If we've found the item in the user's inventory or in the library | ||
1163 | if (item != null) | 1164 | if (item != null) |
1164 | { | 1165 | { |
1165 | part.ParentGroup.AddInventoryItem(remoteClient, primLocalID, item, copyID); | 1166 | part.ParentGroup.AddInventoryItem(remoteClient, primLocalID, item, copyID); |