diff --git a/addons/userrights/userrightsprofile.class.inc.php b/addons/userrights/userrightsprofile.class.inc.php index 610cb9183..6370e5fe3 100644 --- a/addons/userrights/userrightsprofile.class.inc.php +++ b/addons/userrights/userrightsprofile.class.inc.php @@ -228,6 +228,7 @@ class URP_UserProfile extends UserRightsBaseClassGUI "db_table" => "priv_urp_userprofile", "db_key_field" => "id", "db_finalclass_field" => "", + "is_link" => true, /** @since 3.1.0 N°6482 */ 'uniqueness_rules' => array( 'no_duplicate' => array( 'attributes' => array( diff --git a/addons/userrights/userrightsprofile.db.class.inc.php b/addons/userrights/userrightsprofile.db.class.inc.php index 8b02989f4..12a8874c9 100644 --- a/addons/userrights/userrightsprofile.db.class.inc.php +++ b/addons/userrights/userrightsprofile.db.class.inc.php @@ -334,6 +334,7 @@ class URP_UserProfile extends UserRightsBaseClassGUI "db_table" => "priv_urp_userprofile", "db_key_field" => "id", "db_finalclass_field" => "", + "is_link" => true, /** @since 3.1.0 N°6482 */ ); MetaModel::Init_Params($aParams); //MetaModel::Init_InheritAttributes(); diff --git a/addons/userrights/userrightsprojection.class.inc.php b/addons/userrights/userrightsprojection.class.inc.php index 7a9642218..50413fabc 100644 --- a/addons/userrights/userrightsprojection.class.inc.php +++ b/addons/userrights/userrightsprojection.class.inc.php @@ -277,6 +277,7 @@ class URP_UserProfile extends UserRightsBaseClass "db_table" => "priv_urp_userprofile", "db_key_field" => "id", "db_finalclass_field" => "", + "is_link" => true, /** @since 3.1.0 N°6482 */ ); MetaModel::Init_Params($aParams); //MetaModel::Init_InheritAttributes(); diff --git a/core/datamodel.core.xml b/core/datamodel.core.xml index 0a98b4da6..e5a1e74de 100644 --- a/core/datamodel.core.xml +++ b/core/datamodel.core.xml @@ -58,6 +58,7 @@ cmdbAbstractObject addon/userrights,grant_by_profile + 1