diff options
author | Melanie Thielker | 2008-10-06 02:29:38 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-06 02:29:38 +0000 |
commit | 1f7966d6e8b780b77e6232cf7fbf6c473dea073b (patch) | |
tree | 9eda12fbaa427079cd7e5a2f9de98b80967d92a6 | |
parent | Revert r6697 patch as the build fails. (diff) | |
download | opensim-SC_OLD-1f7966d6e8b780b77e6232cf7fbf6c473dea073b.zip opensim-SC_OLD-1f7966d6e8b780b77e6232cf7fbf6c473dea073b.tar.gz opensim-SC_OLD-1f7966d6e8b780b77e6232cf7fbf6c473dea073b.tar.bz2 opensim-SC_OLD-1f7966d6e8b780b77e6232cf7fbf6c473dea073b.tar.xz |
Fix a privilege escalation with linked sets
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 08623aa..63c97eb 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -2152,10 +2152,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
2152 | } | 2152 | } |
2153 | } | 2153 | } |
2154 | 2154 | ||
2155 | public void UpdatePermissions(UUID AgentID, byte field, uint localID, uint mask, byte addRemTF) | 2155 | public void UpdatePermissions(UUID AgentID, byte field, uint localID, |
2156 | uint mask, byte addRemTF) | ||
2156 | { | 2157 | { |
2157 | SceneObjectPart updatePart = GetChildPart(localID); | 2158 | foreach (SceneObjectPart part in m_parts.Values) |
2158 | updatePart.UpdatePermissions(AgentID, field, localID, mask, addRemTF); | 2159 | part.UpdatePermissions(AgentID, field, localID, mask, |
2160 | addRemTF); | ||
2161 | |||
2159 | HasGroupChanged = true; | 2162 | HasGroupChanged = true; |
2160 | } | 2163 | } |
2161 | 2164 | ||