mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Profiles defined in XML (setup + runtime), beta version (stable, upgrade required)
SVN:trunk[2149]
This commit is contained in:
@@ -314,6 +314,14 @@ class ModelFactory
|
||||
$oNode->SetAttribute('_created_in', $sModuleName);
|
||||
}
|
||||
}
|
||||
$oUserRightsNode = $oXPath->query('/itop_design/user_rights')->item(0);
|
||||
if ($oUserRightsNode)
|
||||
{
|
||||
if ($oUserRightsNode->getAttribute('_created_in') == '')
|
||||
{
|
||||
$oUserRightsNode->SetAttribute('_created_in', $sModuleName);
|
||||
}
|
||||
}
|
||||
|
||||
$oDeltaRoot = $oDocument->childNodes->item(0);
|
||||
$this->LoadDelta($oDocument, $oDeltaRoot, $this->oDOMDocument);
|
||||
|
||||
Reference in New Issue
Block a user