From 09c54d4fedb61aa04f91276f97ae46f6113c6524 Mon Sep 17 00:00:00 2001 From: Vincent Dumas Date: Fri, 20 Apr 2018 15:10:33 +0000 Subject: [PATCH] Fix DataSynchro Group to allow management of DataSynchros through WebServices for non admin users SVN:trunk[5714] --- .../2.x/itop-profiles-itil/datamodel.itop-profiles-itil.xml | 1 + synchro/synchrodatasource.class.inc.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/datamodels/2.x/itop-profiles-itil/datamodel.itop-profiles-itil.xml b/datamodels/2.x/itop-profiles-itil/datamodel.itop-profiles-itil.xml index 97f80a238..71beb1e51 100755 --- a/datamodels/2.x/itop-profiles-itil/datamodel.itop-profiles-itil.xml +++ b/datamodels/2.x/itop-profiles-itil/datamodel.itop-profiles-itil.xml @@ -141,6 +141,7 @@ + diff --git a/synchro/synchrodatasource.class.inc.php b/synchro/synchrodatasource.class.inc.php index b3e59b824..9d8b64592 100644 --- a/synchro/synchrodatasource.class.inc.php +++ b/synchro/synchrodatasource.class.inc.php @@ -1247,7 +1247,7 @@ class SynchroAttribute extends cmdbAbstractObject { $aParams = array ( - "category" => "core/cmdb,view_in_gui", + "category" => "core/cmdb,view_in_gui,grant_by_profile", "key_type" => "autoincrement", "name_attcode" => "attcode", "state_attcode" => "", @@ -1281,7 +1281,7 @@ class SynchroAttExtKey extends SynchroAttribute { $aParams = array ( - "category" => "core/cmdb,view_in_gui", + "category" => "core/cmdb,view_in_gui,grant_by_profile", "key_type" => "autoincrement", "name_attcode" => "attcode", "state_attcode" => "", @@ -1346,7 +1346,7 @@ class SynchroAttLinkSet extends SynchroAttribute { $aParams = array ( - "category" => "core/cmdb,view_in_gui", + "category" => "core/cmdb,view_in_gui,grant_by_profile", "key_type" => "autoincrement", "name_attcode" => "attcode", "state_attcode" => "",