mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
491 lines
21 KiB
XML
491 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.6">
|
|
<user_rights>
|
|
<profiles>
|
|
<profile id="1024" _delta="define">
|
|
<name>REST Services User</name>
|
|
<description>Only users having this profile are allowed to use the REST Web Services (unless 'secure_rest_services' is set to false in the configuration file).</description>
|
|
<groups />
|
|
</profile>
|
|
</profiles>
|
|
</user_rights>
|
|
<meta>
|
|
<classes>
|
|
<class id="User" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>core,grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="contactid" xsi:type="AttributeExternalKey">
|
|
<target_class>Person</target_class>
|
|
</field>
|
|
<field id="last_name" xsi:type="AttributeExternalField"/>
|
|
<field id="first_name" xsi:type="AttributeExternalField"/>
|
|
<field id="email" xsi:type="AttributeExternalField"/>
|
|
<field id="org_id" xsi:type="AttributeExternalField"/>
|
|
<field id="login" xsi:type="AttributeString"/>
|
|
<field id="language" xsi:type="AttributeApplicationLanguage"/>
|
|
<field id="status" xsi:type="AttributeEnum"/>
|
|
<field id="profile_list" xsi:type="AttributeLinkedSetIndirect"/>
|
|
<field id="allowed_org_list" xsi:type="AttributeLinkedSetIndirect"/>
|
|
<field id="finalclass" xsi:type="AttributeFinalClass"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
<field id="contactid_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="contactid_obsolescence_flag" xsi:type="AttributeExternalField"/>
|
|
<field id="org_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="org_id_obsolescence_flag" xsi:type="AttributeExternalField"/>
|
|
</fields>
|
|
</class>
|
|
<class id="URP_Profiles" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>addon/userrights,grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="name" xsi:type="AttributeString"/>
|
|
<field id="description" xsi:type="AttributeString"/>
|
|
<field id="user_list" xsi:type="AttributeLinkedSetIndirect"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
</fields>
|
|
</class>
|
|
<class id="URP_UserProfile" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>addon/userrights,grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="userid" xsi:type="AttributeExternalKey">
|
|
<target_class>User</target_class>
|
|
</field>
|
|
<field id="userlogin" xsi:type="AttributeExternalField"/>
|
|
<field id="profileid" xsi:type="AttributeExternalKey">
|
|
<target_class>URP_Profiles</target_class>
|
|
</field>
|
|
<field id="profile" xsi:type="AttributeExternalField"/>
|
|
<field id="reason" xsi:type="AttributeString"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
<field id="userid_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="userid_finalclass_recall" xsi:type="AttributeExternalField"/>
|
|
<field id="profileid_friendlyname" xsi:type="AttributeExternalField"/>
|
|
</fields>
|
|
</class>
|
|
<class id="URP_UserOrg" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>addon/userrights,grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="userid" xsi:type="AttributeExternalKey">
|
|
<target_class>User</target_class>
|
|
</field>
|
|
<field id="userlogin" xsi:type="AttributeExternalField"/>
|
|
<field id="allowed_org_id" xsi:type="AttributeExternalKey">
|
|
<target_class>Organization</target_class>
|
|
</field>
|
|
<field id="allowed_org_name" xsi:type="AttributeExternalField"/>
|
|
<field id="reason" xsi:type="AttributeString"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
<field id="userid_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="userid_finalclass_recall" xsi:type="AttributeExternalField"/>
|
|
<field id="allowed_org_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="allowed_org_id_obsolescence_flag" xsi:type="AttributeExternalField"/>
|
|
</fields>
|
|
</class>
|
|
<class id="Action" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>grant_by_profile,core/cmdb</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="name" xsi:type="AttributeString"/>
|
|
<field id="description" xsi:type="AttributeString"/>
|
|
<field id="status" xsi:type="AttributeEnum"/>
|
|
<field id="trigger_list" xsi:type="AttributeLinkedSetIndirect"/>
|
|
<field id="finalclass" xsi:type="AttributeFinalClass"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
</fields>
|
|
</class>
|
|
<class id="Trigger" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>grant_by_profile,core/cmdb</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="description" xsi:type="AttributeString"/>
|
|
<field id="action_list" xsi:type="AttributeLinkedSetIndirect"/>
|
|
<field id="finalclass" xsi:type="AttributeFinalClass"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
</fields>
|
|
</class>
|
|
<class id="SynchroDataSource" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>core/cmdb,view_in_gui,grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="name" xsi:type="AttributeString"/>
|
|
<field id="description" xsi:type="AttributeText"/>
|
|
<field id="status" xsi:type="AttributeEnum"/>
|
|
<field id="user_id" xsi:type="AttributeExternalKey">
|
|
<target_class>User</target_class>
|
|
</field>
|
|
<field id="notify_contact_id" xsi:type="AttributeExternalKey">
|
|
<target_class>Contact</target_class>
|
|
</field>
|
|
<field id="scope_class" xsi:type="AttributeClass"/>
|
|
<field id="database_table_name" xsi:type="AttributeString"/>
|
|
<field id="scope_restriction" xsi:type="AttributeString"/>
|
|
<field id="full_load_periodicity" xsi:type="AttributeDuration"/>
|
|
<field id="reconciliation_policy" xsi:type="AttributeEnum"/>
|
|
<field id="action_on_zero" xsi:type="AttributeEnum"/>
|
|
<field id="action_on_one" xsi:type="AttributeEnum"/>
|
|
<field id="action_on_multiple" xsi:type="AttributeEnum"/>
|
|
<field id="delete_policy" xsi:type="AttributeEnum"/>
|
|
<field id="delete_policy_update" xsi:type="AttributeString"/>
|
|
<field id="delete_policy_retention" xsi:type="AttributeDuration"/>
|
|
<field id="attribute_list" xsi:type="AttributeLinkedSet"/>
|
|
<field id="user_delete_policy" xsi:type="AttributeEnum"/>
|
|
<field id="url_icon" xsi:type="AttributeURL"/>
|
|
<field id="url_application" xsi:type="AttributeString"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
<field id="user_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="user_id_finalclass_recall" xsi:type="AttributeExternalField"/>
|
|
<field id="notify_contact_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="notify_contact_id_finalclass_recall" xsi:type="AttributeExternalField"/>
|
|
<field id="notify_contact_id_obsolescence_flag" xsi:type="AttributeExternalField"/>
|
|
</fields>
|
|
</class>
|
|
<class id="SynchroAttribute" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>core/cmdb,view_in_gui,grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="sync_source_id" xsi:type="AttributeExternalKey">
|
|
<target_class>SynchroDataSource</target_class>
|
|
</field>
|
|
<field id="sync_source_name" xsi:type="AttributeExternalField"/>
|
|
<field id="attcode" xsi:type="AttributeString"/>
|
|
<field id="update" xsi:type="AttributeBoolean"/>
|
|
<field id="reconcile" xsi:type="AttributeBoolean"/>
|
|
<field id="update_policy" xsi:type="AttributeEnum"/>
|
|
<field id="finalclass" xsi:type="AttributeFinalClass"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
<field id="sync_source_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
</fields>
|
|
</class>
|
|
<class id="AuditRule" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>application, grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="name" xsi:type="AttributeString"/>
|
|
<field id="description" xsi:type="AttributeString"/>
|
|
<field id="query" xsi:type="AttributeOQL"/>
|
|
<field id="valid_flag" xsi:type="AttributeEnum"/>
|
|
<field id="category_id" xsi:type="AttributeExternalKey">
|
|
<target_class>AuditCategory</target_class>
|
|
</field>
|
|
<field id="category_name" xsi:type="AttributeExternalField"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
<field id="category_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
</fields>
|
|
</class>
|
|
<class id="AuditCategory" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>application, grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="name" xsi:type="AttributeString"/>
|
|
<field id="description" xsi:type="AttributeString"/>
|
|
<field id="definition_set" xsi:type="AttributeOQL"/>
|
|
<field id="rules_list" xsi:type="AttributeLinkedSet"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
</fields>
|
|
</class>
|
|
<class id="Query" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>core/cmdb,view_in_gui,application,grant_by_profile</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="name" xsi:type="AttributeString"/>
|
|
<field id="description" xsi:type="AttributeText"/>
|
|
<field id="fields" xsi:type="AttributeText"/>
|
|
<field id="finalclass" xsi:type="AttributeFinalClass"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
</fields>
|
|
</class>
|
|
<class id="lnkTriggerAction" _delta="define">
|
|
<!-- Generated by toolkit/export-class-to-meta.php -->
|
|
<parent>cmdbAbstractObject</parent>
|
|
<properties>
|
|
<category>grant_by_profile,core/cmdb,application</category>
|
|
</properties>
|
|
<fields>
|
|
<field id="action_id" xsi:type="AttributeExternalKey">
|
|
<target_class>Action</target_class>
|
|
</field>
|
|
<field id="action_name" xsi:type="AttributeExternalField"/>
|
|
<field id="trigger_id" xsi:type="AttributeExternalKey">
|
|
<target_class>Trigger</target_class>
|
|
</field>
|
|
<field id="trigger_name" xsi:type="AttributeExternalField"/>
|
|
<field id="order" xsi:type="AttributeInteger"/>
|
|
<field id="friendlyname" xsi:type="AttributeFriendlyName"/>
|
|
<field id="action_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="action_id_finalclass_recall" xsi:type="AttributeExternalField"/>
|
|
<field id="trigger_id_friendlyname" xsi:type="AttributeExternalField"/>
|
|
<field id="trigger_id_finalclass_recall" xsi:type="AttributeExternalField"/>
|
|
</fields>
|
|
</class>
|
|
</classes>
|
|
<events _delta="define">
|
|
<event id="ObjectDetails">
|
|
<description>An object details is about to be displayed to a user</description>
|
|
<available_filters>Class hierarchy of the displayed object</available_filters>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object displayed</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="BeforeInsert">
|
|
<description>An object is about to be inserted in the database</description>
|
|
<replaces>DBObject::OnInsert</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object inserted</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="DBObjectKeyReady">
|
|
<description>A key (id) has been generated for an object inserted into the database (use GetKey() to read the new key)</description>
|
|
<replaces>DBObject::OnObjectKeyReady</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object inserted</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="AfterInsert">
|
|
<description>An object has been inserted into the database</description>
|
|
<replaces>DBObject::AfterInsert</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object inserted</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="BeforeUpdate">
|
|
<description>An object is about to be updated in the database</description>
|
|
<replaces>DBObject::OnUpdate</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object updated</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="AfterUpdate">
|
|
<description>An object has been updated into the database</description>
|
|
<replaces>DBObject::AfterUpdate</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object updated</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="BeforeDelete">
|
|
<description>An object is about to be deleted in the database</description>
|
|
<replaces>DBObject::OnDelete</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object deleted</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="AfterDelete">
|
|
<description>An object has been deleted into the database</description>
|
|
<replaces>DBObject::AfterDelete</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object deleted</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="BeforeApplyStimulus">
|
|
<description>A stimulus is about to be applied to an object</description>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object where the stimulus is to be applied</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="AfterApplyStimulus">
|
|
<description>A stimulus has been applied to an object</description>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object where the stimulus has been applied</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="DBObjectLoaded">
|
|
<description>An object has been loaded from the database</description>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object loaded</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="DBObjectNew">
|
|
<description>An object has been created in memory</description>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object created</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="DBObjectReload">
|
|
<description>An object has been re-loaded from the database</description>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object re-loaded</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="OnCheckToWrite">
|
|
<description>Check an object before it is written into the database</description>
|
|
<replaces>cmdbAbstractObject::DoCheckToWrite</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object to check</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="error_messages">
|
|
<description>Array of strings where all the errors found during the object checking are added</description>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="DoCheckToDelete">
|
|
<description>Check an object before it is deleted from the database</description>
|
|
<replaces>cmdbAbstractObject::DoCheckToDelete</replaces>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object to check</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="error_messages">
|
|
<description>Array of strings where all the errors found during the object checking are added</description>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
<event id="DownloadDocument">
|
|
<description>A document has been downloaded from the GUI</description>
|
|
<arguments>
|
|
<argument id="object">
|
|
<description>The object containing the document</description>
|
|
<type>DBObject</type>
|
|
</argument>
|
|
<argument id="document">
|
|
<description>The document downloaded</description>
|
|
<type>ormDocument</type>
|
|
</argument>
|
|
<argument id="debug_info">
|
|
<description>Debug string</description>
|
|
<type>string</type>
|
|
</argument>
|
|
</arguments>
|
|
</event>
|
|
</events>
|
|
</meta>
|
|
</itop_design>
|