Fix permission propagation that was broken some revision back, causing

sold/given prim to become full perm.
This commit is contained in:
Melanie Thielker
2008-11-27 03:17:00 +00:00
parent 557559abd3
commit 6b7ba29986
3 changed files with 5 additions and 5 deletions

View File

@@ -423,10 +423,8 @@ namespace OpenSim.Region.Environment.Scenes
{
SceneObjectGroup group = (SceneObjectGroup)obj;
if (m_parentScene.Permissions.CanEditObject(group.UUID, remoteClient.AgentId))
if (group.OwnerID != remoteClient.AgentId)
group.SetGroup(GroupID, remoteClient);
else
remoteClient.SendAgentAlertMessage("You don't have permission to set the group", false);
}
}
}