Skip to content

Commit 29d5a2a

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

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", ["allowed_values" => null, "sql" => "category_id", "targetclass" => "AuditCategory", "is_null_allowed" => false, "on_target_delete" => DEL_MANUAL, "depends_on" => []]));
5454
MetaModel::Init_AddAttribute(new AttributeExternalField("category_name", ["allowed_values" => null, "extkey_attcode" => 'category_id', "target_attcode" => "name"]));
5555
MetaModel::Init_AddAttribute(new AttributeExternalKey("contact_id", ["allowed_values" => null, "sql" => "contact_id", "targetclass" => "Contact", "is_null_allowed" => true, "on_target_delete" => DEL_MANUAL, "depends_on" => []]));
56+
MetaModel::Init_AddAttribute(new AttributeHTML("process", ["allowed_values" => null, "sql" => "process", "default_value" => "", "is_null_allowed" => true, "depends_on" => []]));
5657
// Display lists
5758
MetaModel::Init_SetZListItems('details', ['category_id', 'name', 'description', 'query', 'valid_flag', 'process', 'contact_id']); // Attributes to be displayed for the complete details
58-
MetaModel::Init_SetZListItems('list', ['category_id', 'description', 'valid_flag']); // Attributes to be displayed for a list
59+
MetaModel::Init_SetZListItems('list', ['category_id', 'description', 'query']); // Attributes to be displayed for a list
5960
// Search criteria
6061
MetaModel::Init_SetZListItems('standard_search', ['category_id', 'name', 'description', 'valid_flag', 'query']); // Criteria of the std search form
6162
MetaModel::Init_SetZListItems('default_search', ['name', 'description', 'category_id', 'contact_id', 'query']); // Criteria of the advanced search form

dictionaries/cs.dictionary.itop.ui.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
'Class:AuditRule/Attribute:name+' => 'Krátký název pro toto pravidlo',
4141
'Class:AuditRule/Attribute:description' => 'Popis pravidla',
4242
'Class:AuditRule/Attribute:description+' => 'Dlouhý popis tohoto pravidla auditu',
43+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
44+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4345
'Class:AuditRule/Attribute:query' => 'Dotaz ke spuštění',
4446
'Class:AuditRule/Attribute:query+' => 'OQL výraz ke spuštění',
4547
'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
@@ -40,6 +40,8 @@
4040
'Class:AuditRule/Attribute:name+' => 'Kort navn for denne regel',
4141
'Class:AuditRule/Attribute:description' => 'Audit-regel beskrivelse',
4242
'Class:AuditRule/Attribute:description+' => 'Udførlig beskrivelse af denne Audit-regel',
43+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
44+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4345
'Class:AuditRule/Attribute:query' => 'Søgning at udføre',
4446
'Class:AuditRule/Attribute:query+' => 'Den OQL forespørgsel, der skal udføres',
4547
'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
@@ -40,6 +40,8 @@
4040
'Class:AuditRule/Attribute:name+' => 'Kurzname für diese Regel',
4141
'Class:AuditRule/Attribute:description' => 'Beschreibung der Audit-Regel',
4242
'Class:AuditRule/Attribute:description+' => 'Ausführliche Beschreibung dieser Audit-Regel',
43+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
44+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4345
'Class:AuditRule/Attribute:query' => 'Durchzuführende Abfrage',
4446
'Class:AuditRule/Attribute:query+' => 'Die auszuführende OQL-Abfrage',
4547
'Class:AuditRule/Attribute:valid_flag' => 'Gültiges Objekt?',

dictionaries/en.dictionary.itop.ui.php

Lines changed: 5 additions & 3 deletions
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: ',
@@ -65,8 +67,8 @@
6567
'Class:AuditRule/Attribute:category_id+' => 'The category of this rule',
6668
'Class:AuditRule/Attribute:category_name' => 'Category name',
6769
'Class:AuditRule/Attribute:category_name+' => 'Name of the category of this rule',
68-
'Class:AuditRule/Attribute:contact_id' => 'Owner~~',
69-
'Class:AuditRule/Attribute:contact_id+' => 'Team or person in charge of fixing the errors detected by this rule~~',
70+
'Class:AuditRule/Attribute:contact_id' => 'Owner',
71+
'Class:AuditRule/Attribute:contact_id+' => 'Team or person in charge of fixing the errors detected by this rule',
7072
]);
7173

7274
//

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
@@ -38,6 +38,8 @@
3838
'Class:AuditRule/Attribute:name+' => 'Nombre corto para esta regla',
3939
'Class:AuditRule/Attribute:description' => 'Descripción de regla de auditoría',
4040
'Class:AuditRule/Attribute:description+' => 'Descripción larga para esta regla de auditoría',
41+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
42+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4143
'Class:AuditRule/Attribute:query' => 'Consulta a Ejecutar',
4244
'Class:AuditRule/Attribute:query+' => 'Expresión OQL a ejecutar',
4345
'Class:AuditRule/Attribute:valid_flag' => '¿Objetos Válidos?',

dictionaries/fr.dictionary.itop.ui.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
'Class:AuditRule/Attribute:name' => 'Nom',
4242
'Class:AuditRule/Attribute:name+' => 'Une vérification particulière',
4343
'Class:AuditRule/Attribute:description' => 'Description',
44-
'Class:AuditRule/Attribute:description+' => 'Qu\'est ce qu\'on vérifie ? Comment le corriger ? Qui doit le faire ? ...',
44+
'Class:AuditRule/Attribute:description+' => 'Qu\'est ce qu\'on vérifie ?',
45+
'Class:AuditRule/Attribute:process' => 'Processus de correction',
46+
'Class:AuditRule/Attribute:process+' => 'Comment le corriger ? Qui doit le faire ? ...',
4547
'Class:AuditRule/Attribute:query' => 'Requête',
4648
'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',
4749
'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
@@ -40,6 +40,8 @@
4040
'Class:AuditRule/Attribute:name+' => '',
4141
'Class:AuditRule/Attribute:description' => 'Leírás',
4242
'Class:AuditRule/Attribute:description+' => '',
43+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
44+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4345
'Class:AuditRule/Attribute:query' => 'Lekérdezés',
4446
'Class:AuditRule/Attribute:query+' => '',
4547
'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
@@ -40,6 +40,8 @@
4040
'Class:AuditRule/Attribute:name+' => '',
4141
'Class:AuditRule/Attribute:description' => 'Descrizione della regola di Audit',
4242
'Class:AuditRule/Attribute:description+' => 'Descrizione dettagliata per questa regola di audit ',
43+
'Class:AuditRule/Attribute:process' => 'Correction process~~',
44+
'Class:AuditRule/Attribute:process+' => 'How should it be fixed? Who should do it? ...~~',
4345
'Class:AuditRule/Attribute:query' => 'Query da eseguire',
4446
'Class:AuditRule/Attribute:query+' => 'Espressio OQL da eseguire',
4547
'Class:AuditRule/Attribute:valid_flag' => 'Oggetti validi?',

0 commit comments

Comments
 (0)