aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-14 18:54:38 +0000
committerMelanie Thielker2008-11-14 18:54:38 +0000
commitd66f3993de49d80d1db9f139ff08485c2d7d9664 (patch)
tree5008e680b817653dfba71263c7da836005b7c3d3 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
parent* Allow new script creation to be locked down to only gods if specified in Op... (diff)
downloadopensim-SC_OLD-d66f3993de49d80d1db9f139ff08485c2d7d9664.zip
opensim-SC_OLD-d66f3993de49d80d1db9f139ff08485c2d7d9664.tar.gz
opensim-SC_OLD-d66f3993de49d80d1db9f139ff08485c2d7d9664.tar.bz2
opensim-SC_OLD-d66f3993de49d80d1db9f139ff08485c2d7d9664.tar.xz
Add group permissions to agent inventory.
Contains a migration. May contain nuts. Please back up your inventory data store. This revision changes the interface version!! No older regions can connect to these new UGAIM, and the new regions can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss Currently persisted on MySQL only.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
index 225f7cf..442720a 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs
@@ -166,6 +166,8 @@ namespace OpenSim.Region.Environment.Scenes
166 item.NextPermissions; 166 item.NextPermissions;
167 taskItem.EveryonePermissions = item.EveryOnePermissions & 167 taskItem.EveryonePermissions = item.EveryOnePermissions &
168 item.NextPermissions; 168 item.NextPermissions;
169 taskItem.GroupPermissions = item.GroupPermissions &
170 item.NextPermissions;
169 taskItem.NextPermissions = item.NextPermissions; 171 taskItem.NextPermissions = item.NextPermissions;
170 taskItem.CurrentPermissions |= 8; 172 taskItem.CurrentPermissions |= 8;
171 } else { 173 } else {
@@ -173,6 +175,7 @@ namespace OpenSim.Region.Environment.Scenes
173 taskItem.CurrentPermissions = item.CurrentPermissions; 175 taskItem.CurrentPermissions = item.CurrentPermissions;
174 taskItem.CurrentPermissions |= 8; 176 taskItem.CurrentPermissions |= 8;
175 taskItem.EveryonePermissions = item.EveryOnePermissions; 177 taskItem.EveryonePermissions = item.EveryOnePermissions;
178 taskItem.GroupPermissions = item.GroupPermissions;
176 taskItem.NextPermissions = item.NextPermissions; 179 taskItem.NextPermissions = item.NextPermissions;
177 } 180 }
178 181