mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Fix perms when linking an object. Set root part perms to the perms
of the link set to make the build floater behave consistently. Fixes permissions exploit introduced on 23 August.
This commit is contained in:
@@ -2503,6 +2503,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
m_sceneGraph.LinkObjects(root, children);
|
||||
|
||||
ScenePresence sp;
|
||||
if (TryGetScenePresence(agentId, out sp))
|
||||
{
|
||||
root.SendPropertiesToClient(sp.ControllingClient);
|
||||
}
|
||||
}
|
||||
|
||||
private string PermissionString(uint permissions)
|
||||
|
||||
Reference in New Issue
Block a user