mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Transmission of user rights along N-N links: must work both with DEL_AUTO and DEL_SILENT external keys (found with a code review, DEL_SILENT is still rarely used)
SVN:trunk[3349]
This commit is contained in:
@@ -1472,7 +1472,7 @@ EOF;
|
|||||||
if (($sAttType == 'AttributeExternalKey') || ($sAttType == 'AttributeHierarchicalKey'))
|
if (($sAttType == 'AttributeExternalKey') || ($sAttType == 'AttributeHierarchicalKey'))
|
||||||
{
|
{
|
||||||
$sOnTargetDel = $oField->GetChildText('on_target_delete');
|
$sOnTargetDel = $oField->GetChildText('on_target_delete');
|
||||||
if ($sOnTargetDel == 'DEL_AUTO')
|
if (($sOnTargetDel == 'DEL_AUTO') || ($sOnTargetDel == 'DEL_SILENT'))
|
||||||
{
|
{
|
||||||
$sTargetClass = $oField->GetChildText('target_class');
|
$sTargetClass = $oField->GetChildText('target_class');
|
||||||
$aLinkToClasses[$oClass->getAttribute('id')][] = $sTargetClass;
|
$aLinkToClasses[$oClass->getAttribute('id')][] = $sTargetClass;
|
||||||
|
|||||||
Reference in New Issue
Block a user