Skip to content

Commit 7934222

Browse files
committed
N°5882 - Audit Rule: Add "Owner" and "Process description" fields
1 parent da8271c commit 7934222

18 files changed

+42
-7
lines changed

application/audit.rule.class.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ public static function Init()
5353
MetaModel::Init_AddAttribute(new AttributeExternalKey("category_id", array("allowed_values" => null, "sql" => "category_id", "targetclass" => "AuditCategory", "is_null_allowed" => false, "on_target_delete" => DEL_MANUAL, "depends_on" => array())));
5454
MetaModel::Init_AddAttribute(new AttributeExternalField("category_name", array("allowed_values" => null, "extkey_attcode" => 'category_id', "target_attcode" => "name")));
5555
MetaModel::Init_AddAttribute(new AttributeExternalKey("contact_id", array("allowed_values" => null, "sql" => "contact_id", "targetclass" => "Contact", "is_null_allowed" => true, "on_target_delete" => DEL_MANUAL, "depends_on" => array())));
56+
MetaModel::Init_AddAttribute(new AttributeHTML("process", array("allowed_values" => null, "sql" => "process", "default_value" => "", "is_null_allowed" => true, "depends_on" => array())));
5657

5758
// Display lists
58-
MetaModel::Init_SetZListItems('details', array('category_id', 'name', 'query', 'valid_flag', 'description', 'contact_id')); // Attributes to be displayed for the complete details
59+
MetaModel::Init_SetZListItems('details', array('category_id', 'name', 'description', 'query', 'valid_flag', 'process', 'contact_id')); // Attributes to be displayed for the complete details
5960
MetaModel::Init_SetZListItems('list', array('category_id', 'description', 'query')); // Attributes to be displayed for a list
6061
// Search criteria
6162
MetaModel::Init_SetZListItems('standard_search', array('category_id', 'name', 'description', 'valid_flag', 'query')); // Criteria of the std search form

dictionaries/cs.dictionary.itop.ui.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
'Class:AuditRule/Attribute:name+' => 'Krátký název pro toto pravidlo',
4040
'Class:AuditRule/Attribute:description' => 'Popis pravidla',
4141
'Class:AuditRule/Attribute:description+' => 'Dlouhý popis tohoto pravidla auditu',
42+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
43+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4244
'Class:AuditRule/Attribute:query' => 'Dotaz ke spuštění',
4345
'Class:AuditRule/Attribute:query+' => 'OQL výraz ke spuštění',
4446
'Class:AuditRule/Attribute:valid_flag' => 'Interpretace',

dictionaries/da.dictionary.itop.ui.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
'Class:AuditRule/Attribute:name+' => 'Kort navn for denne regel',
4040
'Class:AuditRule/Attribute:description' => 'Audit-regel beskrivelse',
4141
'Class:AuditRule/Attribute:description+' => 'Udførlig beskrivelse af denne Audit-regel',
42+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
43+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4244
'Class:AuditRule/Attribute:query' => 'Søgning at udføre',
4345
'Class:AuditRule/Attribute:query+' => 'Den OQL forespørgsel, der skal udføres',
4446
'Class:AuditRule/Attribute:valid_flag' => 'Gyldige objekter?',

dictionaries/de.dictionary.itop.ui.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
'Class:AuditRule/Attribute:name+' => 'Kurzname für diese Regel',
4040
'Class:AuditRule/Attribute:description' => 'Beschreibung der Audit-Regel',
4141
'Class:AuditRule/Attribute:description+' => 'Ausführliche Beschreibung dieser Audit-Regel',
42+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
43+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4244
'Class:AuditRule/Attribute:query' => 'Durchzuführende Abfrage',
4345
'Class:AuditRule/Attribute:query+' => 'Die auszuführende OQL-Abfrage',
4446
'Class:AuditRule/Attribute:valid_flag' => 'Gültiges Objekt?',

dictionaries/en.dictionary.itop.ui.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@
4949
It is applied on the scope of objects defined by the audit category',
5050
'Class:AuditRule/Attribute:name' => 'Rule name',
5151
'Class:AuditRule/Attribute:name+' => 'Short name for this rule',
52-
'Class:AuditRule/Attribute:description' => 'Process',
53-
'Class:AuditRule/Attribute:description+' => 'What is checked? How should it be fixed? Who should do it? ...',
52+
'Class:AuditRule/Attribute:description' => 'Description',
53+
'Class:AuditRule/Attribute:description+' => 'What is checked?',
54+
'Class:AuditRule/Attribute:process' => 'Correction process',
55+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...',
5456
'Class:AuditRule/Attribute:query' => 'Query to run',
5557
'Class:AuditRule/Attribute:query+' => 'The OQL expression to run. Returned classes must be aligned with those of the category\'s scope',
5658
'Class:AuditRule/Attribute:valid_flag' => 'Returned objects: ',

dictionaries/en_gb.dictionary.itop.ui.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
'Class:AuditRule/Attribute:name' => 'Rule name',
5151
'Class:AuditRule/Attribute:name+' => 'Short name for this rule',
5252
'Class:AuditRule/Attribute:description' => 'Description',
53-
'Class:AuditRule/Attribute:description+' => 'What is checked? How should it be fixed? Who should do it? ...',
53+
'Class:AuditRule/Attribute:description+' => 'What is checked?~~',
54+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
55+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
5456
'Class:AuditRule/Attribute:query' => 'Query to run',
5557
'Class:AuditRule/Attribute:query+' => 'The OQL expression to run. Returned classes must be aligned with those of the category\'s scope',
5658
'Class:AuditRule/Attribute:valid_flag' => 'Returned objects: ',

dictionaries/es_cr.dictionary.itop.ui.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
'Class:AuditRule/Attribute:name+' => 'Nombre corto para esta regla',
3838
'Class:AuditRule/Attribute:description' => 'Descripción de regla de auditoría',
3939
'Class:AuditRule/Attribute:description+' => 'Descripción larga para esta regla de auditoría',
40+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
41+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4042
'Class:AuditRule/Attribute:query' => 'Consulta a Ejecutar',
4143
'Class:AuditRule/Attribute:query+' => 'Expresión OQL a ejecutar',
4244
'Class:AuditRule/Attribute:valid_flag' => '¿Objetos Válidos?',

dictionaries/fr.dictionary.itop.ui.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
Elle s\'applique à tous les objets dans le périmètre de sa catégorie d\'audit',
4040
'Class:AuditRule/Attribute:name' => 'Nom',
4141
'Class:AuditRule/Attribute:name+' => 'Une vérification particulière',
42-
'Class:AuditRule/Attribute:description' => 'Processus',
43-
'Class:AuditRule/Attribute:description+' => 'Qu\'est ce qu\'on vérifie ? Comment le corriger ? Qui doit le faire ? ...',
42+
'Class:AuditRule/Attribute:description' => 'Description',
43+
'Class:AuditRule/Attribute:description+' => 'Qu\'est ce qu\'on vérifie ?',
44+
'Class:AuditRule/Attribute:process' => 'Processus de correction',
45+
'Class:AuditRule/Attribute:process+' => 'Comment le corriger ? Qui doit le faire ? ...',
4446
'Class:AuditRule/Attribute:query' => 'Requête',
4547
'Class:AuditRule/Attribute:query+' => 'Requête OQL à executer. Les classes retournées doivent être cohérentes avec celles définies dans le périmètre de la catégorie',
4648
'Class:AuditRule/Attribute:valid_flag' => 'Objets retournés :',

dictionaries/hu.dictionary.itop.ui.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
'Class:AuditRule/Attribute:name+' => '',
4040
'Class:AuditRule/Attribute:description' => 'Leírás',
4141
'Class:AuditRule/Attribute:description+' => '',
42+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
43+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4244
'Class:AuditRule/Attribute:query' => 'Lekérdezés',
4345
'Class:AuditRule/Attribute:query+' => '',
4446
'Class:AuditRule/Attribute:valid_flag' => 'Érvényes objektum?',

dictionaries/it.dictionary.itop.ui.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
'Class:AuditRule/Attribute:name+' => '',
4040
'Class:AuditRule/Attribute:description' => 'Descrizione della regola di Audit',
4141
'Class:AuditRule/Attribute:description+' => 'Descrizione dettagliata per questa regola di audit ',
42+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
43+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4244
'Class:AuditRule/Attribute:query' => 'Query da eseguire',
4345
'Class:AuditRule/Attribute:query+' => 'Espressio OQL da eseguire',
4446
'Class:AuditRule/Attribute:valid_flag' => 'Oggetti validi?',

0 commit comments

Comments
 (0)