From a722e9d05c34d731f0516685c8f18a7a33c6f87c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 11 Apr 2017 12:46:28 +0200 Subject: Update fixtures (refs #3516) --- ishtar_common/fixtures/initial_data-fr.json | 263 ++++++++++++++++++---------- 1 file changed, 167 insertions(+), 96 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/fixtures/initial_data-fr.json b/ishtar_common/fixtures/initial_data-fr.json index 5f3205c74..ef281cac0 100644 --- a/ishtar_common/fixtures/initial_data-fr.json +++ b/ishtar_common/fixtures/initial_data-fr.json @@ -6,6 +6,7 @@ "comment": "Cette personne est l'auteur principal de la source. Les autres auteurs sont des collaborateurs.", "available": true, "txt_idx": "main_author", + "order": 1, "label": "Auteur principal" } }, @@ -16,6 +17,7 @@ "comment": "Il y a plusieurs auteurs pour une m\u00eame source. Au m\u00eame niveau de responsabilit\u00e9.", "available": true, "txt_idx": "co_author", + "order": 1, "label": "Co-auteur " } }, @@ -26,6 +28,7 @@ "comment": "Cet auteur n'est pas l'auteur principal de la source mais un collaborateur. Il n'est pas auteur au m\u00eame niveau que l'auteur principal.", "available": true, "txt_idx": "associate_author", + "order": 1, "label": "Collaborateur" } }, @@ -35,9 +38,21 @@ "fields": { "comment": "Un acc\u00e8s limit\u00e9 \u00e0 la base, uniquement en lecture. Apr\u00e8s enregistrement.", "available": true, - "txt_idx": "public_access", - "groups": [], - "label": "Acc\u00e8s public" + "txt_idx": "reader_access", + "groups": [ + 8, + 66, + 5, + 30, + 2, + 6, + 1, + 25, + 33, + 7, + 4 + ], + "label": "Acc\u00e8s en lecture" } }, { @@ -47,7 +62,79 @@ "comment": "", "available": true, "txt_idx": "administrator", - "groups": [], + "groups": [ + 1, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72 + ], "label": "Administrateur" } }, @@ -55,7 +142,7 @@ "pk": 6, "model": "ishtar_common.persontype", "fields": { - "comment": "Responsable de l'am\u00e9nagement", + "comment": "Responsable de l'am\u00e9nagement (pr\u00e9ventif).", "available": true, "txt_idx": "general_contractor", "groups": [], @@ -66,7 +153,7 @@ "pk": 8, "model": "ishtar_common.persontype", "fields": { - "comment": null, + "comment": "", "available": true, "txt_idx": "responsible_planning_service", "groups": [], @@ -77,10 +164,25 @@ "pk": 9, "model": "ishtar_common.persontype", "fields": { - "comment": "Personnes pouvant intervenir sur les donn\u00e9es d'une op\u00e9ration sans en \u00eatre responsable", + "comment": "Peut intervenir sur les donn\u00e9es d'une op\u00e9ration sans en \u00eatre responsable.", "available": true, "txt_idx": "collaborator", - "groups": [], + "groups": [ + 70, + 71, + 72, + 41, + 42, + 46, + 47, + 48, + 40, + 51, + 58, + 59, + 60, + 63 + ], "label": "Collaborateur scientifique" } }, @@ -88,7 +190,7 @@ "pk": 10, "model": "ishtar_common.persontype", "fields": { - "comment": "Personne demandant une action sur le mobilier (traitements)", + "comment": "Personne demandant une action sur le mobilier (traitements).", "available": true, "txt_idx": "applicant", "groups": [], @@ -99,10 +201,31 @@ "pk": 5, "model": "ishtar_common.persontype", "fields": { - "comment": "Cette personne peut g\u00e9rer du mobilier qu'il n'a pas cr\u00e9\u00e9\r\n\r\n", + "comment": "Peut g\u00e9rer du mobilier qu'il n'a pas cr\u00e9\u00e9.\r\n\r\n", "available": true, "txt_idx": "warehouse_manager", - "groups": [], + "groups": [ + 64, + 65, + 66, + 4, + 5, + 6, + 1, + 8, + 11, + 12, + 2, + 15, + 16, + 72, + 19, + 20, + 7, + 25, + 33, + 30 + ], "label": "Gestionnaire de d\u00e9p\u00f4t" } }, @@ -114,16 +237,12 @@ "available": true, "txt_idx": "sra_agent", "groups": [ - 30, - 31, - 32, - 2, 1, + 2, 4, - 3, 5, - 7, 6, + 7, 8, 9, 10, @@ -141,7 +260,15 @@ 26, 27, 28, - 29 + 29, + 30, + 31, + 32, + 33, + 66, + 70, + 71, + 72 ], "label": "Responsable de suivi scientifique" } @@ -150,10 +277,26 @@ "pk": 2, "model": "ishtar_common.persontype", "fields": { - "comment": "Responsable d'op\u00e9ration arch\u00e9ologique", + "comment": "Responsable d'op\u00e9ration arch\u00e9ologique.", "available": true, "txt_idx": "head_scientist", - "groups": [], + "groups": [ + 1, + 70, + 71, + 72, + 41, + 42, + 46, + 47, + 48, + 40, + 50, + 58, + 59, + 60, + 63 + ], "label": "Responsable scientifique" } }, @@ -161,15 +304,15 @@ "pk": 4, "model": "ishtar_common.persontype", "fields": { - "comment": "", + "comment": "Peut utiliser toutes les fonctionnalit\u00e9s du module Administratif.", "available": true, "txt_idx": "secretarial_dept", "groups": [ - 2, 1, - 3, - 7, + 2, + 4, 6, + 33, 8, 9, 10, @@ -552,30 +695,6 @@ "txt_idx": "prev_excavation" } }, - { - "pk": 123, - "model": "ishtar_common.operationtype", - "fields": { - "comment": "", - "available": false, - "label": "Prospection inventaire (pr\u00e9ventif)", - "preventive": true, - "order": 1, - "txt_idx": "inventory_survey" - } - }, - { - "pk": 124, - "model": "ishtar_common.operationtype", - "fields": { - "comment": null, - "available": false, - "label": "Prospection (pr\u00e9ventif)", - "preventive": true, - "order": 1, - "txt_idx": "survey" - } - }, { "pk": 22, "model": "ishtar_common.operationtype", @@ -732,18 +851,6 @@ "txt_idx": "aerial_survey_research" } }, - { - "pk": 126, - "model": "ishtar_common.operationtype", - "fields": { - "comment": "", - "available": false, - "label": "Prospection a\u00e9rienne (pr\u00e9ventif)", - "preventive": false, - "order": 1, - "txt_idx": "aerial_survey" - } - }, { "pk": 117, "model": "ishtar_common.operationtype", @@ -780,18 +887,6 @@ "txt_idx": "metal_detector_prospection" } }, - { - "pk": 114, - "model": "ishtar_common.operationtype", - "fields": { - "comment": "", - "available": false, - "label": "Prospection diachronique", - "preventive": false, - "order": 1, - "txt_idx": "diachronic_prospection" - } - }, { "pk": 17, "model": "ishtar_common.operationtype", @@ -804,18 +899,6 @@ "txt_idx": "inventory_survey_research" } }, - { - "pk": 18, - "model": "ishtar_common.operationtype", - "fields": { - "comment": "", - "available": false, - "label": "Prospection (programm\u00e9)", - "preventive": false, - "order": 1, - "txt_idx": "survey_research" - } - }, { "pk": 134, "model": "ishtar_common.operationtype", @@ -852,18 +935,6 @@ "txt_idx": "cave_art_record" } }, - { - "pk": 21, - "model": "ishtar_common.operationtype", - "fields": { - "comment": "Pas assez gros pour \u00eatre une fouille, mais porte n\u00e9anmoins atteinte au sous-sol.", - "available": false, - "label": "Sondage", - "preventive": false, - "order": 1, - "txt_idx": "sampling_research" - } - }, { "pk": 127, "model": "ishtar_common.operationtype", -- cgit v1.2.3