From fdd0231543be132b846e3bf12127cd01860f55bf Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 7 Jun 2018 11:09:35 +0200 Subject: Fix tests and fixtures for new document management (refs #4107) --- fixtures/initial_data-auth-fr.json | 2329 ++++++++++-------------------------- 1 file changed, 603 insertions(+), 1726 deletions(-) (limited to 'fixtures') diff --git a/fixtures/initial_data-auth-fr.json b/fixtures/initial_data-auth-fr.json index 073ef4012..feecf1e8a 100644 --- a/fixtures/initial_data-auth-fr.json +++ b/fixtures/initial_data-auth-fr.json @@ -2081,89 +2081,89 @@ { "model": "auth.permission", "fields": { - "name": "Can add Operation documentation", + "name": "Can add Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "add_operationsource" + "codename": "add_document" } }, { "model": "auth.permission", "fields": { - "name": "Can change Operation documentation", + "name": "Can change Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "change_operationsource" + "codename": "change_document" } }, { "model": "auth.permission", "fields": { - "name": "Can delete Operation documentation", + "name": "Can delete Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "delete_operationsource" + "codename": "delete_document" } }, { "model": "auth.permission", "fields": { - "name": "Can view all Operation sources", + "name": "Can view all Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "view_operationsource" + "codename": "view_document" } }, { "model": "auth.permission", "fields": { - "name": "Can view own Operation source", + "name": "Can view own Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "view_own_operationsource" + "codename": "view_own_document" } }, { "model": "auth.permission", "fields": { - "name": "Can add own Operation source", + "name": "Can add own Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "add_own_operationsource" + "codename": "add_own_document" } }, { "model": "auth.permission", "fields": { - "name": "Can change own Operation source", + "name": "Can change own Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "change_own_operationsource" + "codename": "change_own_document" } }, { "model": "auth.permission", "fields": { - "name": "Can delete own Operation source", + "name": "Can delete own Document", "content_type": [ - "archaeological_operations", - "operationsource" + "ishtar_common", + "document" ], - "codename": "delete_own_operationsource" + "codename": "delete_own_document" } }, { @@ -2804,39 +2804,6 @@ "codename": "delete_recordrelations" } }, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Context record documentation", - "content_type": [ - "archaeological_context_records", - "contextrecordsource" - ], - "codename": "add_contextrecordsource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Context record documentation", - "content_type": [ - "archaeological_context_records", - "contextrecordsource" - ], - "codename": "change_contextrecordsource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Context record documentation", - "content_type": [ - "archaeological_context_records", - "contextrecordsource" - ], - "codename": "delete_contextrecordsource" - } -}, { "model": "auth.permission", "fields": { @@ -3431,39 +3398,6 @@ "codename": "delete_own_find" } }, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Find documentation", - "content_type": [ - "archaeological_finds", - "findsource" - ], - "codename": "add_findsource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Find documentation", - "content_type": [ - "archaeological_finds", - "findsource" - ], - "codename": "change_findsource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Find documentation", - "content_type": [ - "archaeological_finds", - "findsource" - ], - "codename": "delete_findsource" - } -}, { "model": "auth.permission", "fields": { @@ -3618,39 +3552,6 @@ "codename": "delete_own_treatment" } }, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Treatment documentation", - "content_type": [ - "archaeological_finds", - "treatmentsource" - ], - "codename": "add_treatmentsource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Treatment documentation", - "content_type": [ - "archaeological_finds", - "treatmentsource" - ], - "codename": "change_treatmentsource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Treatment documentation", - "content_type": [ - "archaeological_finds", - "treatmentsource" - ], - "codename": "delete_treatmentsource" - } -}, { "model": "auth.permission", "fields": { @@ -3981,39 +3882,6 @@ "codename": "delete_treatmentfile" } }, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Treatment file documentation", - "content_type": [ - "archaeological_finds", - "treatmentfilesource" - ], - "codename": "add_treatmentfilesource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Treatment file documentation", - "content_type": [ - "archaeological_finds", - "treatmentfilesource" - ], - "codename": "change_treatmentfilesource" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Treatment file documentation", - "content_type": [ - "archaeological_finds", - "treatmentfilesource" - ], - "codename": "delete_treatmentfilesource" - } -}, { "model": "auth.permission", "fields": { @@ -4523,524 +4391,304 @@ { "model": "auth.permission", "fields": { - "name": "Can view all Context record sources", + "name": "Can add Administration script", "content_type": [ - "archaeological_context_records", - "contextrecordsource" + "ishtar_common", + "administrationscript" ], - "codename": "view_contextrecordsource" + "codename": "add_administrationscript" } }, { "model": "auth.permission", "fields": { - "name": "Can view own Context record source", + "name": "Can change Administration script", "content_type": [ - "archaeological_context_records", - "contextrecordsource" + "ishtar_common", + "administrationscript" ], - "codename": "view_own_contextrecordsource" + "codename": "change_administrationscript" } }, { "model": "auth.permission", "fields": { - "name": "Can add own Context record source", + "name": "Can delete Administration script", "content_type": [ - "archaeological_context_records", - "contextrecordsource" + "ishtar_common", + "administrationscript" ], - "codename": "add_own_contextrecordsource" + "codename": "delete_administrationscript" } }, { "model": "auth.permission", "fields": { - "name": "Can change own Context record source", + "name": "Can add Administration task", "content_type": [ - "archaeological_context_records", - "contextrecordsource" + "ishtar_common", + "administrationtask" ], - "codename": "change_own_contextrecordsource" + "codename": "add_administrationtask" } }, { "model": "auth.permission", "fields": { - "name": "Can delete own Context record source", + "name": "Can change Administration task", "content_type": [ - "archaeological_context_records", - "contextrecordsource" + "ishtar_common", + "administrationtask" ], - "codename": "delete_own_contextrecordsource" + "codename": "change_administrationtask" } }, { "model": "auth.permission", "fields": { - "name": "Can view all Find sources", + "name": "Can delete Administration task", "content_type": [ - "archaeological_finds", - "findsource" + "ishtar_common", + "administrationtask" ], - "codename": "view_findsource" + "codename": "delete_administrationtask" } }, { "model": "auth.permission", "fields": { - "name": "Can view own Find source", + "name": "Can add Importer - Target key group", "content_type": [ - "archaeological_finds", - "findsource" + "ishtar_common", + "targetkeygroup" ], - "codename": "view_own_findsource" + "codename": "add_targetkeygroup" } }, { "model": "auth.permission", "fields": { - "name": "Can add own Find source", + "name": "Can change Importer - Target key group", "content_type": [ - "archaeological_finds", - "findsource" + "ishtar_common", + "targetkeygroup" ], - "codename": "add_own_findsource" + "codename": "change_targetkeygroup" } }, { "model": "auth.permission", "fields": { - "name": "Can change own Find source", + "name": "Can delete Importer - Target key group", "content_type": [ - "archaeological_finds", - "findsource" + "ishtar_common", + "targetkeygroup" ], - "codename": "change_own_findsource" + "codename": "delete_targetkeygroup" } }, { "model": "auth.permission", "fields": { - "name": "Can delete own Find source", + "name": "Can view all Containers", "content_type": [ - "archaeological_finds", - "findsource" + "archaeological_warehouse", + "container" ], - "codename": "delete_own_findsource" + "codename": "view_container" } }, { "model": "auth.permission", "fields": { - "name": "Can view all Treatment source", + "name": "Can view own Container", "content_type": [ - "archaeological_finds", - "treatmentsource" + "archaeological_warehouse", + "container" ], - "codename": "view_treatmentsource" + "codename": "view_own_container" } }, { "model": "auth.permission", "fields": { - "name": "Can view own Treatment source", + "name": "Can add own Container", "content_type": [ - "archaeological_finds", - "treatmentsource" + "archaeological_warehouse", + "container" ], - "codename": "view_own_treatmentsource" + "codename": "add_own_container" } }, { "model": "auth.permission", "fields": { - "name": "Can add own Treatment source", + "name": "Can change own Container", "content_type": [ - "archaeological_finds", - "treatmentsource" + "archaeological_warehouse", + "container" ], - "codename": "add_own_treatmentsource" + "codename": "change_own_container" } }, { "model": "auth.permission", "fields": { - "name": "Can change own Treatment source", + "name": "Can delete own Container", "content_type": [ - "archaeological_finds", - "treatmentsource" + "archaeological_warehouse", + "container" ], - "codename": "change_own_treatmentsource" + "codename": "delete_own_container" } }, { "model": "auth.permission", "fields": { - "name": "Can delete own Treatment source", + "name": "Can add Treatment emergency type", "content_type": [ "archaeological_finds", - "treatmentsource" + "treatmentemergencytype" ], - "codename": "delete_own_treatmentsource" + "codename": "add_treatmentemergencytype" } }, { "model": "auth.permission", "fields": { - "name": "Can view all Treatment request source", + "name": "Can change Treatment emergency type", "content_type": [ "archaeological_finds", - "treatmentfilesource" + "treatmentemergencytype" ], - "codename": "view_filetreatmentsource" + "codename": "change_treatmentemergencytype" } }, { "model": "auth.permission", "fields": { - "name": "Can view own Treatment request source", + "name": "Can delete Treatment emergency type", "content_type": [ "archaeological_finds", - "treatmentfilesource" + "treatmentemergencytype" ], - "codename": "view_own_filetreatmentsource" + "codename": "delete_treatmentemergencytype" } }, { "model": "auth.permission", "fields": { - "name": "Can add own Treatment request source", + "name": "Can add Alteration type", "content_type": [ "archaeological_finds", - "treatmentfilesource" + "alterationtype" ], - "codename": "add_own_filetreatmentsource" + "codename": "add_alterationtype" } }, { "model": "auth.permission", "fields": { - "name": "Can change own Treatment request source", + "name": "Can change Alteration type", "content_type": [ "archaeological_finds", - "treatmentfilesource" + "alterationtype" ], - "codename": "change_own_filetreatmentsource" + "codename": "change_alterationtype" } }, { "model": "auth.permission", "fields": { - "name": "Can delete own Treatment request source", + "name": "Can delete Alteration type", "content_type": [ "archaeological_finds", - "treatmentfilesource" + "alterationtype" ], - "codename": "delete_own_filetreatmentsource" + "codename": "delete_alterationtype" } }, { "model": "auth.permission", "fields": { - "name": "Can add Administration script", + "name": "Can add Alteration cause type", "content_type": [ - "ishtar_common", - "administrationscript" + "archaeological_finds", + "alterationcausetype" ], - "codename": "add_administrationscript" + "codename": "add_alterationcausetype" } }, { "model": "auth.permission", "fields": { - "name": "Can change Administration script", + "name": "Can change Alteration cause type", "content_type": [ - "ishtar_common", - "administrationscript" + "archaeological_finds", + "alterationcausetype" ], - "codename": "change_administrationscript" + "codename": "change_alterationcausetype" } }, { "model": "auth.permission", "fields": { - "name": "Can delete Administration script", + "name": "Can delete Alteration cause type", "content_type": [ - "ishtar_common", - "administrationscript" + "archaeological_finds", + "alterationcausetype" ], - "codename": "delete_administrationscript" + "codename": "delete_alterationcausetype" } }, { "model": "auth.permission", "fields": { - "name": "Can add Administration task", + "name": "Can view all Operation relations", "content_type": [ - "ishtar_common", - "administrationtask" + "archaeological_operations", + "recordrelations" ], - "codename": "add_administrationtask" + "codename": "view_operationrelation" } }, { "model": "auth.permission", "fields": { - "name": "Can change Administration task", + "name": "Can view all Context record relations", "content_type": [ - "ishtar_common", - "administrationtask" + "archaeological_context_records", + "recordrelations" ], - "codename": "change_administrationtask" + "codename": "view_recordrelation" } }, { "model": "auth.permission", "fields": { - "name": "Can delete Administration task", + "name": "Can view all record relations - view", "content_type": [ - "ishtar_common", - "administrationtask" + "archaeological_context_records", + "recordrelationview" ], - "codename": "delete_administrationtask" + "codename": "view_recordrelation" } }, { "model": "auth.permission", "fields": { - "name": "Can add Importer - Target key group", + "name": "Can add Json data - Field", "content_type": [ "ishtar_common", - "targetkeygroup" + "jsondatafield" ], - "codename": "add_targetkeygroup" + "codename": "add_jsondatafield" } }, { "model": "auth.permission", "fields": { - "name": "Can change Importer - Target key group", - "content_type": [ - "ishtar_common", - "targetkeygroup" - ], - "codename": "change_targetkeygroup" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Importer - Target key group", - "content_type": [ - "ishtar_common", - "targetkeygroup" - ], - "codename": "delete_targetkeygroup" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can view all Containers", - "content_type": [ - "archaeological_warehouse", - "container" - ], - "codename": "view_container" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can view own Container", - "content_type": [ - "archaeological_warehouse", - "container" - ], - "codename": "view_own_container" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add own Container", - "content_type": [ - "archaeological_warehouse", - "container" - ], - "codename": "add_own_container" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change own Container", - "content_type": [ - "archaeological_warehouse", - "container" - ], - "codename": "change_own_container" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete own Container", - "content_type": [ - "archaeological_warehouse", - "container" - ], - "codename": "delete_own_container" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Treatment emergency type", - "content_type": [ - "archaeological_finds", - "treatmentemergencytype" - ], - "codename": "add_treatmentemergencytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Treatment emergency type", - "content_type": [ - "archaeological_finds", - "treatmentemergencytype" - ], - "codename": "change_treatmentemergencytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Treatment emergency type", - "content_type": [ - "archaeological_finds", - "treatmentemergencytype" - ], - "codename": "delete_treatmentemergencytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Alteration type", - "content_type": [ - "archaeological_finds", - "alterationtype" - ], - "codename": "add_alterationtype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Alteration type", - "content_type": [ - "archaeological_finds", - "alterationtype" - ], - "codename": "change_alterationtype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Alteration type", - "content_type": [ - "archaeological_finds", - "alterationtype" - ], - "codename": "delete_alterationtype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Alteration cause type", - "content_type": [ - "archaeological_finds", - "alterationcausetype" - ], - "codename": "add_alterationcausetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Alteration cause type", - "content_type": [ - "archaeological_finds", - "alterationcausetype" - ], - "codename": "change_alterationcausetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Alteration cause type", - "content_type": [ - "archaeological_finds", - "alterationcausetype" - ], - "codename": "delete_alterationcausetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can view all Operation relations", - "content_type": [ - "archaeological_operations", - "recordrelations" - ], - "codename": "view_operationrelation" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can view all Context record relations", - "content_type": [ - "archaeological_context_records", - "recordrelations" - ], - "codename": "view_recordrelation" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can view all record relations - view", - "content_type": [ - "archaeological_context_records", - "recordrelationview" - ], - "codename": "view_recordrelation" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Json data - Field", - "content_type": [ - "ishtar_common", - "jsondatafield" - ], - "codename": "add_jsondatafield" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Json data - Field", + "name": "Can change Json data - Field", "content_type": [ "ishtar_common", "jsondatafield" @@ -5125,39 +4773,6 @@ "codename": "delete_customform" } }, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Image", - "content_type": [ - "ishtar_common", - "ishtarimage" - ], - "codename": "add_ishtarimage" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Image", - "content_type": [ - "ishtar_common", - "ishtarimage" - ], - "codename": "change_ishtarimage" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Image", - "content_type": [ - "ishtar_common", - "ishtarimage" - ], - "codename": "delete_ishtarimage" - } -}, { "model": "auth.permission", "fields": { @@ -5227,62 +4842,29 @@ { "model": "auth.permission", "fields": { - "name": "Can add Image type", + "name": "Can add Communicability type", "content_type": [ - "ishtar_common", - "imagetype" + "archaeological_finds", + "communicabilitytype" ], - "codename": "add_imagetype" + "codename": "add_communicabilitytype" } }, { "model": "auth.permission", "fields": { - "name": "Can change Image type", + "name": "Can change Communicability type", "content_type": [ - "ishtar_common", - "imagetype" + "archaeological_finds", + "communicabilitytype" ], - "codename": "change_imagetype" + "codename": "change_communicabilitytype" } }, { "model": "auth.permission", "fields": { - "name": "Can delete Image type", - "content_type": [ - "ishtar_common", - "imagetype" - ], - "codename": "delete_imagetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Communicability type", - "content_type": [ - "archaeological_finds", - "communicabilitytype" - ], - "codename": "add_communicabilitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Communicability type", - "content_type": [ - "archaeological_finds", - "communicabilitytype" - ], - "codename": "change_communicabilitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Communicability type", + "name": "Can delete Communicability type", "content_type": [ "archaeological_finds", "communicabilitytype" @@ -5320,803 +4902,56 @@ "archaeological_finds", "objecttypequalitytype" ], - "codename": "delete_objecttypequalitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Material type quality type", - "content_type": [ - "archaeological_finds", - "materialtypequalitytype" - ], - "codename": "add_materialtypequalitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Material type quality type", - "content_type": [ - "archaeological_finds", - "materialtypequalitytype" - ], - "codename": "change_materialtypequalitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Material type quality type", - "content_type": [ - "archaeological_finds", - "materialtypequalitytype" - ], - "codename": "delete_materialtypequalitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Json data - Field", - "content_type": [ - "ishtar_common", - "jsondatafield" - ], - "codename": "add_jsondatafield" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Json data - Field", - "content_type": [ - "ishtar_common", - "jsondatafield" - ], - "codename": "change_jsondatafield" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Json data - Field", - "content_type": [ - "ishtar_common", - "jsondatafield" - ], - "codename": "delete_jsondatafield" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Json data - Menu", - "content_type": [ - "ishtar_common", - "jsondatasection" - ], - "codename": "add_jsondatasection" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Json data - Menu", - "content_type": [ - "ishtar_common", - "jsondatasection" - ], - "codename": "change_jsondatasection" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Json data - Menu", - "content_type": [ - "ishtar_common", - "jsondatasection" - ], - "codename": "delete_jsondatasection" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Custom form", - "content_type": [ - "ishtar_common", - "customform" - ], - "codename": "add_customform" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Custom form", - "content_type": [ - "ishtar_common", - "customform" - ], - "codename": "change_customform" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Custom form", - "content_type": [ - "ishtar_common", - "customform" - ], - "codename": "delete_customform" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Image", - "content_type": [ - "ishtar_common", - "ishtarimage" - ], - "codename": "add_ishtarimage" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Image", - "content_type": [ - "ishtar_common", - "ishtarimage" - ], - "codename": "change_ishtarimage" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Image", - "content_type": [ - "ishtar_common", - "ishtarimage" - ], - "codename": "delete_ishtarimage" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add License type", - "content_type": [ - "ishtar_common", - "licensetype" - ], - "codename": "add_licensetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change License type", - "content_type": [ - "ishtar_common", - "licensetype" - ], - "codename": "change_licensetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete License type", - "content_type": [ - "ishtar_common", - "licensetype" - ], - "codename": "delete_licensetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Excluded field", - "content_type": [ - "ishtar_common", - "excludedfield" - ], - "codename": "add_excludedfield" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Excluded field", - "content_type": [ - "ishtar_common", - "excludedfield" - ], - "codename": "change_excludedfield" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Excluded field", - "content_type": [ - "ishtar_common", - "excludedfield" - ], - "codename": "delete_excludedfield" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Image type", - "content_type": [ - "ishtar_common", - "imagetype" - ], - "codename": "add_imagetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Image type", - "content_type": [ - "ishtar_common", - "imagetype" - ], - "codename": "change_imagetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Image type", - "content_type": [ - "ishtar_common", - "imagetype" - ], - "codename": "delete_imagetype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Communicability type", - "content_type": [ - "archaeological_finds", - "communicabilitytype" - ], - "codename": "add_communicabilitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Communicability type", - "content_type": [ - "archaeological_finds", - "communicabilitytype" - ], - "codename": "change_communicabilitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Communicability type", - "content_type": [ - "archaeological_finds", - "communicabilitytype" - ], - "codename": "delete_communicabilitytype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add Profile type", - "content_type": [ - "ishtar_common", - "profiletype" - ], - "codename": "add_profiletype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change Profile type", - "content_type": [ - "ishtar_common", - "profiletype" - ], - "codename": "change_profiletype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete Profile type", - "content_type": [ - "ishtar_common", - "profiletype" - ], - "codename": "delete_profiletype" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can add User profile", - "content_type": [ - "ishtar_common", - "userprofile" - ], - "codename": "add_userprofile" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can change User profile", - "content_type": [ - "ishtar_common", - "userprofile" - ], - "codename": "change_userprofile" - } -}, -{ - "model": "auth.permission", - "fields": { - "name": "Can delete User profile", - "content_type": [ - "ishtar_common", - "userprofile" - ], - "codename": "delete_userprofile" - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Op\u00e9rations : lecture", - "permissions": [ - [ - "view_operation", - "archaeological_operations", - "operation" - ], - [ - "view_operationrelation", - "archaeological_operations", - "recordrelations" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Dossiers : lecture", - "permissions": [ - [ - "view_file", - "archaeological_files", - "file" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "UE : lecture", - "permissions": [ - [ - "view_contextrecord", - "archaeological_context_records", - "contextrecord" - ], - [ - "view_recordrelation", - "archaeological_context_records", - "recordrelations" - ], - [ - "view_recordrelation", - "archaeological_context_records", - "recordrelationview" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "D\u00e9p\u00f4ts : lecture", - "permissions": [ - [ - "view_warehouse", - "archaeological_warehouse", - "warehouse" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Mobilier : lecture", - "permissions": [ - [ - "view_basefind", - "archaeological_finds", - "basefind" - ], - [ - "view_find", - "archaeological_finds", - "find" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Traitements : lecture", - "permissions": [ - [ - "view_treatment", - "archaeological_finds", - "treatment" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Actes administratifs : lecture", - "permissions": [ - [ - "view_administrativeact", - "archaeological_operations", - "administrativeact" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Actes administratifs : ajout", - "permissions": [ - [ - "add_administrativeact", - "archaeological_operations", - "administrativeact" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Actes administratifs : modification/suppression", - "permissions": [ - [ - "change_administrativeact", - "archaeological_operations", - "administrativeact" - ], - [ - "delete_administrativeact", - "archaeological_operations", - "administrativeact" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "D\u00e9p\u00f4ts : ajout", - "permissions": [ - [ - "add_warehouse", - "archaeological_warehouse", - "warehouse" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "D\u00e9p\u00f4ts : modification/suppression", - "permissions": [ - [ - "change_warehouse", - "archaeological_warehouse", - "warehouse" - ], - [ - "delete_warehouse", - "archaeological_warehouse", - "warehouse" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Dossiers : ajout", - "permissions": [ - [ - "add_file", - "archaeological_files", - "file" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Dossiers : modification/suppression", - "permissions": [ - [ - "change_file", - "archaeological_files", - "file" - ], - [ - "delete_file", - "archaeological_files", - "file" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Mobilier : ajout", - "permissions": [ - [ - "add_basefind", - "archaeological_finds", - "basefind" - ], - [ - "add_find", - "archaeological_finds", - "find" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Mobilier : modification/suppression", - "permissions": [ - [ - "change_basefind", - "archaeological_finds", - "basefind" - ], - [ - "delete_basefind", - "archaeological_finds", - "basefind" - ], - [ - "change_find", - "archaeological_finds", - "find" - ], - [ - "delete_find", - "archaeological_finds", - "find" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Op\u00e9rations : ajout", - "permissions": [ - [ - "add_operation", - "archaeological_operations", - "operation" - ], - [ - "add_recordrelations", - "archaeological_operations", - "recordrelations" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Op\u00e9rations : modification/suppression", - "permissions": [ - [ - "change_operation", - "archaeological_operations", - "operation" - ], - [ - "delete_operation", - "archaeological_operations", - "operation" - ], - [ - "change_recordrelations", - "archaeological_operations", - "recordrelations" - ], - [ - "delete_recordrelations", - "archaeological_operations", - "recordrelations" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Traitements : ajout", - "permissions": [ - [ - "add_treatment", - "archaeological_finds", - "treatment" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Traitements : modification/suppression", - "permissions": [ - [ - "change_treatment", - "archaeological_finds", - "treatment" - ], - [ - "delete_treatment", - "archaeological_finds", - "treatment" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "UE : ajout", - "permissions": [ - [ - "add_contextrecord", - "archaeological_context_records", - "contextrecord" - ], - [ - "add_recordrelations", - "archaeological_context_records", - "recordrelations" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "UE : modification/suppression", - "permissions": [ - [ - "change_contextrecord", - "archaeological_context_records", - "contextrecord" - ], - [ - "delete_contextrecord", - "archaeological_context_records", - "contextrecord" - ], - [ - "change_recordrelations", - "archaeological_context_records", - "recordrelations" - ], - [ - "delete_recordrelations", - "archaeological_context_records", - "recordrelations" - ] - ] + "codename": "delete_objecttypequalitytype" } }, { - "model": "auth.group", + "model": "auth.permission", "fields": { - "name": "Personnes : ajout", - "permissions": [ - [ - "add_person", - "ishtar_common", - "person" - ] - ] + "name": "Can add Material type quality type", + "content_type": [ + "archaeological_finds", + "materialtypequalitytype" + ], + "codename": "add_materialtypequalitytype" } }, { - "model": "auth.group", + "model": "auth.permission", "fields": { - "name": "Personnes : modification/suppression", - "permissions": [ - [ - "change_person", - "ishtar_common", - "person" - ], - [ - "delete_person", - "ishtar_common", - "person" - ] - ] + "name": "Can change Material type quality type", + "content_type": [ + "archaeological_finds", + "materialtypequalitytype" + ], + "codename": "change_materialtypequalitytype" } }, { - "model": "auth.group", + "model": "auth.permission", "fields": { - "name": "Organisations : lecture", - "permissions": [ - [ - "view_organization", - "ishtar_common", - "organization" - ] - ] + "name": "Can delete Material type quality type", + "content_type": [ + "archaeological_finds", + "materialtypequalitytype" + ], + "codename": "delete_materialtypequalitytype" } }, { "model": "auth.group", "fields": { - "name": "Organisations : modification/suppression", + "name": "Op\u00e9rations : lecture", "permissions": [ [ - "change_organization", - "ishtar_common", - "organization" + "view_operation", + "archaeological_operations", + "operation" ], [ - "delete_organization", - "ishtar_common", - "organization" + "view_operationrelation", + "archaeological_operations", + "recordrelations" ] ] } @@ -6124,12 +4959,12 @@ { "model": "auth.group", "fields": { - "name": "Organisations : ajout", + "name": "Dossiers : lecture", "permissions": [ [ - "add_organization", - "ishtar_common", - "organization" + "view_file", + "archaeological_files", + "file" ] ] } @@ -6137,25 +4972,22 @@ { "model": "auth.group", "fields": { - "name": "Op\u00e9rations : cl\u00f4ture", + "name": "UE : lecture", "permissions": [ [ - "close_operation", - "archaeological_operations", - "operation" - ] - ] - } -}, -{ - "model": "auth.group", - "fields": { - "name": "Dossiers : cl\u00f4ture", - "permissions": [ + "view_contextrecord", + "archaeological_context_records", + "contextrecord" + ], [ - "close_file", - "archaeological_files", - "file" + "view_recordrelation", + "archaeological_context_records", + "recordrelations" + ], + [ + "view_recordrelation", + "archaeological_context_records", + "recordrelationview" ] ] } @@ -6163,12 +4995,12 @@ { "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration : lecture", + "name": "D\u00e9p\u00f4ts : lecture", "permissions": [ [ - "view_operationsource", - "archaeological_operations", - "operationsource" + "view_warehouse", + "archaeological_warehouse", + "warehouse" ] ] } @@ -6176,17 +5008,17 @@ { "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration : modification/suppression", + "name": "Mobilier : lecture", "permissions": [ [ - "change_operation", - "archaeological_operations", - "operation" + "view_basefind", + "archaeological_finds", + "basefind" ], [ - "delete_operation", - "archaeological_operations", - "operation" + "view_find", + "archaeological_finds", + "find" ] ] } @@ -6194,12 +5026,12 @@ { "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration : ajout", + "name": "Traitements : lecture", "permissions": [ [ - "add_operation", - "archaeological_operations", - "operation" + "view_treatment", + "archaeological_finds", + "treatment" ] ] } @@ -6207,12 +5039,12 @@ { "model": "auth.group", "fields": { - "name": "Personnes : lecture", + "name": "Actes administratifs : lecture", "permissions": [ [ - "view_person", - "ishtar_common", - "person" + "view_administrativeact", + "archaeological_operations", + "administrativeact" ] ] } @@ -6220,10 +5052,10 @@ { "model": "auth.group", "fields": { - "name": "Actes administratifs rattach\u00e9s : ajout", + "name": "Actes administratifs : ajout", "permissions": [ [ - "add_own_administrativeact", + "add_administrativeact", "archaeological_operations", "administrativeact" ] @@ -6233,15 +5065,15 @@ { "model": "auth.group", "fields": { - "name": "Actes administratifs rattach\u00e9s : modification/suppression", + "name": "Actes administratifs : modification/suppression", "permissions": [ [ - "change_own_administrativeact", + "change_administrativeact", "archaeological_operations", "administrativeact" ], [ - "delete_own_administrativeact", + "delete_administrativeact", "archaeological_operations", "administrativeact" ] @@ -6251,12 +5083,12 @@ { "model": "auth.group", "fields": { - "name": "Actes administratifs rattach\u00e9s : lecture", + "name": "D\u00e9p\u00f4ts : ajout", "permissions": [ [ - "view_own_administrativeact", - "archaeological_operations", - "administrativeact" + "add_warehouse", + "archaeological_warehouse", + "warehouse" ] ] } @@ -6264,10 +5096,15 @@ { "model": "auth.group", "fields": { - "name": "D\u00e9p\u00f4ts rattach\u00e9s : ajout", + "name": "D\u00e9p\u00f4ts : modification/suppression", "permissions": [ [ - "add_own_warehouse", + "change_warehouse", + "archaeological_warehouse", + "warehouse" + ], + [ + "delete_warehouse", "archaeological_warehouse", "warehouse" ] @@ -6277,17 +5114,12 @@ { "model": "auth.group", "fields": { - "name": "D\u00e9p\u00f4ts rattach\u00e9s : modification/suppression", + "name": "Dossiers : ajout", "permissions": [ [ - "change_own_warehouse", - "archaeological_warehouse", - "warehouse" - ], - [ - "delete_own_warehouse", - "archaeological_warehouse", - "warehouse" + "add_file", + "archaeological_files", + "file" ] ] } @@ -6295,12 +5127,17 @@ { "model": "auth.group", "fields": { - "name": "D\u00e9p\u00f4ts rattach\u00e9s : lecture", + "name": "Dossiers : modification/suppression", "permissions": [ [ - "view_own_warehouse", - "archaeological_warehouse", - "warehouse" + "change_file", + "archaeological_files", + "file" + ], + [ + "delete_file", + "archaeological_files", + "file" ] ] } @@ -6308,12 +5145,17 @@ { "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration rattach\u00e9s : ajout", + "name": "Mobilier : ajout", "permissions": [ [ - "add_own_operation", - "archaeological_operations", - "operation" + "add_basefind", + "archaeological_finds", + "basefind" + ], + [ + "add_find", + "archaeological_finds", + "find" ] ] } @@ -6321,17 +5163,27 @@ { "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration rattach\u00e9s : modification/suppression", + "name": "Mobilier : modification/suppression", "permissions": [ [ - "change_own_operation", - "archaeological_operations", - "operation" + "change_basefind", + "archaeological_finds", + "basefind" ], [ - "delete_own_operation", - "archaeological_operations", - "operation" + "delete_basefind", + "archaeological_finds", + "basefind" + ], + [ + "change_find", + "archaeological_finds", + "find" + ], + [ + "delete_find", + "archaeological_finds", + "find" ] ] } @@ -6339,12 +5191,17 @@ { "model": "auth.group", "fields": { - "name": "Documents op\u00e9ration rattach\u00e9s : lecture", + "name": "Op\u00e9rations : ajout", "permissions": [ [ - "view_own_operationsource", + "add_operation", + "archaeological_operations", + "operation" + ], + [ + "add_recordrelations", "archaeological_operations", - "operationsource" + "recordrelations" ] ] } @@ -6352,12 +5209,27 @@ { "model": "auth.group", "fields": { - "name": "Dossiers rattach\u00e9s : ajout", + "name": "Op\u00e9rations : modification/suppression", "permissions": [ [ - "add_own_file", - "archaeological_files", - "file" + "change_operation", + "archaeological_operations", + "operation" + ], + [ + "delete_operation", + "archaeological_operations", + "operation" + ], + [ + "change_recordrelations", + "archaeological_operations", + "recordrelations" + ], + [ + "delete_recordrelations", + "archaeological_operations", + "recordrelations" ] ] } @@ -6365,17 +5237,12 @@ { "model": "auth.group", "fields": { - "name": "Dossiers rattach\u00e9s : modification/suppression", + "name": "Traitements : ajout", "permissions": [ [ - "change_own_file", - "archaeological_files", - "file" - ], - [ - "delete_own_file", - "archaeological_files", - "file" + "add_treatment", + "archaeological_finds", + "treatment" ] ] } @@ -6383,12 +5250,17 @@ { "model": "auth.group", "fields": { - "name": "Dossiers rattach\u00e9s : lecture", + "name": "Traitements : modification/suppression", "permissions": [ [ - "view_own_file", - "archaeological_files", - "file" + "change_treatment", + "archaeological_finds", + "treatment" + ], + [ + "delete_treatment", + "archaeological_finds", + "treatment" ] ] } @@ -6396,17 +5268,17 @@ { "model": "auth.group", "fields": { - "name": "Mobilier rattach\u00e9 : ajout", + "name": "UE : ajout", "permissions": [ [ - "add_own_basefind", - "archaeological_finds", - "basefind" + "add_contextrecord", + "archaeological_context_records", + "contextrecord" ], [ - "add_own_find", - "archaeological_finds", - "find" + "add_recordrelations", + "archaeological_context_records", + "recordrelations" ] ] } @@ -6414,27 +5286,27 @@ { "model": "auth.group", "fields": { - "name": "Mobilier rattach\u00e9 : modification/suppression", + "name": "UE : modification/suppression", "permissions": [ [ - "change_own_basefind", - "archaeological_finds", - "basefind" + "change_contextrecord", + "archaeological_context_records", + "contextrecord" ], [ - "delete_own_basefind", - "archaeological_finds", - "basefind" + "delete_contextrecord", + "archaeological_context_records", + "contextrecord" ], [ - "change_own_find", - "archaeological_finds", - "find" + "change_recordrelations", + "archaeological_context_records", + "recordrelations" ], [ - "delete_own_find", - "archaeological_finds", - "find" + "delete_recordrelations", + "archaeological_context_records", + "recordrelations" ] ] } @@ -6442,17 +5314,12 @@ { "model": "auth.group", "fields": { - "name": "Mobilier rattach\u00e9 : lecture", + "name": "Personnes : ajout", "permissions": [ [ - "view_own_basefind", - "archaeological_finds", - "basefind" - ], - [ - "view_own_find", - "archaeological_finds", - "find" + "add_person", + "ishtar_common", + "person" ] ] } @@ -6460,12 +5327,17 @@ { "model": "auth.group", "fields": { - "name": "Op\u00e9rations rattach\u00e9es : ajout", + "name": "Personnes : modification/suppression", "permissions": [ [ - "add_own_operation", - "archaeological_operations", - "operation" + "change_person", + "ishtar_common", + "person" + ], + [ + "delete_person", + "ishtar_common", + "person" ] ] } @@ -6473,17 +5345,12 @@ { "model": "auth.group", "fields": { - "name": "Op\u00e9rations rattach\u00e9es : modification/suppression", + "name": "Organisations : lecture", "permissions": [ [ - "change_own_operation", - "archaeological_operations", - "operation" - ], - [ - "delete_own_operation", - "archaeological_operations", - "operation" + "view_organization", + "ishtar_common", + "organization" ] ] } @@ -6491,12 +5358,17 @@ { "model": "auth.group", "fields": { - "name": "Op\u00e9rations rattach\u00e9es : lecture", + "name": "Organisations : modification/suppression", "permissions": [ [ - "view_own_operation", - "archaeological_operations", - "operation" + "change_organization", + "ishtar_common", + "organization" + ], + [ + "delete_organization", + "ishtar_common", + "organization" ] ] } @@ -6504,10 +5376,10 @@ { "model": "auth.group", "fields": { - "name": "Organisations rattach\u00e9es : ajout", + "name": "Organisations : ajout", "permissions": [ [ - "add_own_organization", + "add_organization", "ishtar_common", "organization" ] @@ -6517,17 +5389,12 @@ { "model": "auth.group", "fields": { - "name": "Organisations rattach\u00e9es : modification/suppression", + "name": "Op\u00e9rations : cl\u00f4ture", "permissions": [ [ - "change_own_organization", - "ishtar_common", - "organization" - ], - [ - "delete_own_organization", - "ishtar_common", - "organization" + "close_operation", + "archaeological_operations", + "operation" ] ] } @@ -6535,12 +5402,12 @@ { "model": "auth.group", "fields": { - "name": "Organisations rattach\u00e9es : lecture", + "name": "Dossiers : cl\u00f4ture", "permissions": [ [ - "view_own_organization", - "ishtar_common", - "organization" + "close_file", + "archaeological_files", + "file" ] ] } @@ -6548,12 +5415,12 @@ { "model": "auth.group", "fields": { - "name": "Traitements rattach\u00e9s : ajout", + "name": "Documents : lecture", "permissions": [ [ - "add_own_treatment", - "archaeological_finds", - "treatment" + "view_document", + "ishtar_common", + "document" ] ] } @@ -6561,17 +5428,17 @@ { "model": "auth.group", "fields": { - "name": "Traitements rattach\u00e9s : modification/suppression", + "name": "Documents : modification/suppression", "permissions": [ [ - "change_own_treatment", - "archaeological_finds", - "treatment" + "change_document", + "ishtar_common", + "document" ], [ - "delete_own_treatment", - "archaeological_finds", - "treatment" + "delete_document", + "ishtar_common", + "document" ] ] } @@ -6579,12 +5446,12 @@ { "model": "auth.group", "fields": { - "name": "Traitements rattach\u00e9s : lecture", + "name": "Documents : ajout", "permissions": [ [ - "view_own_treatment", - "archaeological_finds", - "treatment" + "add_document", + "ishtar_common", + "document" ] ] } @@ -6592,12 +5459,12 @@ { "model": "auth.group", "fields": { - "name": "UE rattach\u00e9es : ajout", + "name": "Personnes : lecture", "permissions": [ [ - "add_own_contextrecord", - "archaeological_context_records", - "contextrecord" + "view_person", + "ishtar_common", + "person" ] ] } @@ -6605,17 +5472,12 @@ { "model": "auth.group", "fields": { - "name": "UE rattach\u00e9es : modification/suppression", + "name": "Actes administratifs rattach\u00e9s : ajout", "permissions": [ [ - "change_own_contextrecord", - "archaeological_context_records", - "contextrecord" - ], - [ - "delete_own_contextrecord", - "archaeological_context_records", - "contextrecord" + "add_own_administrativeact", + "archaeological_operations", + "administrativeact" ] ] } @@ -6623,12 +5485,17 @@ { "model": "auth.group", "fields": { - "name": "UE rattach\u00e9es : lecture", + "name": "Actes administratifs rattach\u00e9s : modification/suppression", "permissions": [ [ - "view_own_contextrecord", - "archaeological_context_records", - "contextrecord" + "change_own_administrativeact", + "archaeological_operations", + "administrativeact" + ], + [ + "delete_own_administrativeact", + "archaeological_operations", + "administrativeact" ] ] } @@ -6636,12 +5503,12 @@ { "model": "auth.group", "fields": { - "name": "Personnes rattach\u00e9es : ajout", + "name": "Actes administratifs rattach\u00e9s : lecture", "permissions": [ [ - "add_own_person", - "ishtar_common", - "person" + "view_own_administrativeact", + "archaeological_operations", + "administrativeact" ] ] } @@ -6649,17 +5516,12 @@ { "model": "auth.group", "fields": { - "name": "Personnes rattach\u00e9es : modification/suppression", + "name": "D\u00e9p\u00f4ts rattach\u00e9s : ajout", "permissions": [ [ - "change_own_person", - "ishtar_common", - "person" - ], - [ - "delete_own_person", - "ishtar_common", - "person" + "add_own_warehouse", + "archaeological_warehouse", + "warehouse" ] ] } @@ -6667,12 +5529,17 @@ { "model": "auth.group", "fields": { - "name": "Personnes rattach\u00e9es : lecture", + "name": "D\u00e9p\u00f4ts rattach\u00e9s : modification/suppression", "permissions": [ [ - "view_own_person", - "ishtar_common", - "person" + "change_own_warehouse", + "archaeological_warehouse", + "warehouse" + ], + [ + "delete_own_warehouse", + "archaeological_warehouse", + "warehouse" ] ] } @@ -6680,12 +5547,12 @@ { "model": "auth.group", "fields": { - "name": "Demandes de traitement : ajout", + "name": "D\u00e9p\u00f4ts rattach\u00e9s : lecture", "permissions": [ [ - "add_filetreatment", - "archaeological_finds", - "treatmentfile" + "view_own_warehouse", + "archaeological_warehouse", + "warehouse" ] ] } @@ -6693,17 +5560,12 @@ { "model": "auth.group", "fields": { - "name": "Demandes de traitement : modification/suppression", + "name": "Documents rattach\u00e9s : ajout", "permissions": [ [ - "change_filetreatment", - "archaeological_finds", - "treatmentfile" - ], - [ - "delete_filetreatment", - "archaeological_finds", - "treatmentfile" + "add_own_document", + "ishtar_common", + "document" ] ] } @@ -6711,12 +5573,17 @@ { "model": "auth.group", "fields": { - "name": "Demandes de traitement : lecture", + "name": "Documents rattach\u00e9s : modification/suppression", "permissions": [ [ - "view_filetreatment", - "archaeological_finds", - "treatmentfile" + "change_own_document", + "ishtar_common", + "document" + ], + [ + "delete_own_document", + "ishtar_common", + "document" ] ] } @@ -6724,12 +5591,12 @@ { "model": "auth.group", "fields": { - "name": "Demandes de traitement rattach\u00e9es : ajout", + "name": "Documents rattach\u00e9s : lecture", "permissions": [ [ - "add_own_filetreatment", - "archaeological_finds", - "treatmentfile" + "view_own_document", + "ishtar_common", + "document" ] ] } @@ -6737,12 +5604,12 @@ { "model": "auth.group", "fields": { - "name": "Demandes de traitement rattach\u00e9es : lecture", + "name": "Dossiers rattach\u00e9s : ajout", "permissions": [ [ - "view_own_filetreatment", - "archaeological_finds", - "treatmentfile" + "add_own_file", + "archaeological_files", + "file" ] ] } @@ -6750,17 +5617,17 @@ { "model": "auth.group", "fields": { - "name": "Demandes de traitement rattach\u00e9es : modification/suppression", + "name": "Dossiers rattach\u00e9s : modification/suppression", "permissions": [ [ - "change_own_filetreatment", - "archaeological_finds", - "treatmentfile" + "change_own_file", + "archaeological_files", + "file" ], [ - "delete_own_filetreatment", - "archaeological_finds", - "treatmentfile" + "delete_own_file", + "archaeological_files", + "file" ] ] } @@ -6768,12 +5635,12 @@ { "model": "auth.group", "fields": { - "name": "Auteurs : ajout", + "name": "Dossiers rattach\u00e9s : lecture", "permissions": [ [ - "add_author", - "ishtar_common", - "author" + "view_own_file", + "archaeological_files", + "file" ] ] } @@ -6781,17 +5648,17 @@ { "model": "auth.group", "fields": { - "name": "Auteurs : modification/suppression", + "name": "Mobilier rattach\u00e9 : ajout", "permissions": [ [ - "change_author", - "ishtar_common", - "author" + "add_own_basefind", + "archaeological_finds", + "basefind" ], [ - "delete_author", - "ishtar_common", - "author" + "add_own_find", + "archaeological_finds", + "find" ] ] } @@ -6799,12 +5666,27 @@ { "model": "auth.group", "fields": { - "name": "Auteurs : lecture", + "name": "Mobilier rattach\u00e9 : modification/suppression", "permissions": [ [ - "view_author", - "ishtar_common", - "author" + "change_own_basefind", + "archaeological_finds", + "basefind" + ], + [ + "delete_own_basefind", + "archaeological_finds", + "basefind" + ], + [ + "change_own_find", + "archaeological_finds", + "find" + ], + [ + "delete_own_find", + "archaeological_finds", + "find" ] ] } @@ -6812,12 +5694,17 @@ { "model": "auth.group", "fields": { - "name": "Documents UE : lecture", + "name": "Mobilier rattach\u00e9 : lecture", "permissions": [ [ - "view_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" + "view_own_basefind", + "archaeological_finds", + "basefind" + ], + [ + "view_own_find", + "archaeological_finds", + "find" ] ] } @@ -6825,12 +5712,12 @@ { "model": "auth.group", "fields": { - "name": "Documents UE rattach\u00e9s : lecture", + "name": "Op\u00e9rations rattach\u00e9es : ajout", "permissions": [ [ - "view_own_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" + "add_own_operation", + "archaeological_operations", + "operation" ] ] } @@ -6838,12 +5725,17 @@ { "model": "auth.group", "fields": { - "name": "Documents UE : ajout", + "name": "Op\u00e9rations rattach\u00e9es : modification/suppression", "permissions": [ [ - "add_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" + "change_own_operation", + "archaeological_operations", + "operation" + ], + [ + "delete_own_operation", + "archaeological_operations", + "operation" ] ] } @@ -6851,17 +5743,12 @@ { "model": "auth.group", "fields": { - "name": "Documents UE : modification/suppression", + "name": "Op\u00e9rations rattach\u00e9es : lecture", "permissions": [ [ - "change_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" - ], - [ - "delete_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" + "view_own_operation", + "archaeological_operations", + "operation" ] ] } @@ -6869,17 +5756,12 @@ { "model": "auth.group", "fields": { - "name": "Documents UE rattach\u00e9s : modification/suppression", + "name": "Organisations rattach\u00e9es : ajout", "permissions": [ [ - "change_own_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" - ], - [ - "delete_own_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" + "add_own_organization", + "ishtar_common", + "organization" ] ] } @@ -6887,12 +5769,17 @@ { "model": "auth.group", "fields": { - "name": "Documents UE rattach\u00e9s : ajout", + "name": "Organisations rattach\u00e9es : modification/suppression", "permissions": [ [ - "add_own_contextrecordsource", - "archaeological_context_records", - "contextrecordsource" + "change_own_organization", + "ishtar_common", + "organization" + ], + [ + "delete_own_organization", + "ishtar_common", + "organization" ] ] } @@ -6900,12 +5787,12 @@ { "model": "auth.group", "fields": { - "name": "Documents mobilier : lecture", + "name": "Organisations rattach\u00e9es : lecture", "permissions": [ [ - "view_findsource", - "archaeological_finds", - "findsource" + "view_own_organization", + "ishtar_common", + "organization" ] ] } @@ -6913,12 +5800,12 @@ { "model": "auth.group", "fields": { - "name": "Documents mobilier : ajout", + "name": "Traitements rattach\u00e9s : ajout", "permissions": [ [ - "add_findsource", + "add_own_treatment", "archaeological_finds", - "findsource" + "treatment" ] ] } @@ -6926,17 +5813,17 @@ { "model": "auth.group", "fields": { - "name": "Documents mobilier : modification/suppression", + "name": "Traitements rattach\u00e9s : modification/suppression", "permissions": [ [ - "change_findsource", + "change_own_treatment", "archaeological_finds", - "findsource" + "treatment" ], [ - "delete_findsource", + "delete_own_treatment", "archaeological_finds", - "findsource" + "treatment" ] ] } @@ -6944,12 +5831,12 @@ { "model": "auth.group", "fields": { - "name": "Documents mobilier rattach\u00e9s : ajout", + "name": "Traitements rattach\u00e9s : lecture", "permissions": [ [ - "add_own_findsource", + "view_own_treatment", "archaeological_finds", - "findsource" + "treatment" ] ] } @@ -6957,12 +5844,12 @@ { "model": "auth.group", "fields": { - "name": "Documents mobilier rattach\u00e9s : lecture", + "name": "UE rattach\u00e9es : ajout", "permissions": [ [ - "view_own_findsource", - "archaeological_finds", - "findsource" + "add_own_contextrecord", + "archaeological_context_records", + "contextrecord" ] ] } @@ -6970,17 +5857,17 @@ { "model": "auth.group", "fields": { - "name": "Documents mobilier rattach\u00e9s : modification/suppression", + "name": "UE rattach\u00e9es : modification/suppression", "permissions": [ [ - "change_own_findsource", - "archaeological_finds", - "findsource" + "change_own_contextrecord", + "archaeological_context_records", + "contextrecord" ], [ - "delete_own_findsource", - "archaeological_finds", - "findsource" + "delete_own_contextrecord", + "archaeological_context_records", + "contextrecord" ] ] } @@ -6988,12 +5875,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de traitement : lecture", + "name": "UE rattach\u00e9es : lecture", "permissions": [ [ - "view_treatmentsource", - "archaeological_finds", - "treatmentsource" + "view_own_contextrecord", + "archaeological_context_records", + "contextrecord" ] ] } @@ -7001,12 +5888,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de traitement : ajout", + "name": "Personnes rattach\u00e9es : ajout", "permissions": [ [ - "add_treatmentsource", - "archaeological_finds", - "treatmentsource" + "add_own_person", + "ishtar_common", + "person" ] ] } @@ -7014,17 +5901,17 @@ { "model": "auth.group", "fields": { - "name": "Documents de traitement : modification/suppression", + "name": "Personnes rattach\u00e9es : modification/suppression", "permissions": [ [ - "change_treatmentsource", - "archaeological_finds", - "treatmentsource" + "change_own_person", + "ishtar_common", + "person" ], [ - "delete_treatmentsource", - "archaeological_finds", - "treatmentsource" + "delete_own_person", + "ishtar_common", + "person" ] ] } @@ -7032,12 +5919,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de traitement rattach\u00e9s : lecture", + "name": "Personnes rattach\u00e9es : lecture", "permissions": [ [ - "view_own_treatmentsource", - "archaeological_finds", - "treatmentsource" + "view_own_person", + "ishtar_common", + "person" ] ] } @@ -7045,12 +5932,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de traitement rattach\u00e9s : ajout", + "name": "Demandes de traitement : ajout", "permissions": [ [ - "add_own_treatmentsource", + "add_filetreatment", "archaeological_finds", - "treatmentsource" + "treatmentfile" ] ] } @@ -7058,17 +5945,30 @@ { "model": "auth.group", "fields": { - "name": "Documents de traitement rattach\u00e9s : modification/suppression", + "name": "Demandes de traitement : modification/suppression", "permissions": [ [ - "change_own_treatmentsource", + "change_filetreatment", "archaeological_finds", - "treatmentsource" + "treatmentfile" ], [ - "delete_own_treatmentsource", + "delete_filetreatment", + "archaeological_finds", + "treatmentfile" + ] + ] + } +}, +{ + "model": "auth.group", + "fields": { + "name": "Demandes de traitement : lecture", + "permissions": [ + [ + "view_filetreatment", "archaeological_finds", - "treatmentsource" + "treatmentfile" ] ] } @@ -7076,12 +5976,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de demande de traitement : lecture", + "name": "Demandes de traitement rattach\u00e9es : ajout", "permissions": [ [ - "view_filetreatmentsource", + "add_own_filetreatment", "archaeological_finds", - "treatmentfilesource" + "treatmentfile" ] ] } @@ -7089,12 +5989,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de demande de traitement : ajout", + "name": "Demandes de traitement rattach\u00e9es : lecture", "permissions": [ [ - "add_treatmentfilesource", + "view_own_filetreatment", "archaeological_finds", - "treatmentfilesource" + "treatmentfile" ] ] } @@ -7102,17 +6002,17 @@ { "model": "auth.group", "fields": { - "name": "Documents de demande de traitement : modification/suppression", + "name": "Demandes de traitement rattach\u00e9es : modification/suppression", "permissions": [ [ - "change_treatmentfilesource", + "change_own_filetreatment", "archaeological_finds", - "treatmentfilesource" + "treatmentfile" ], [ - "delete_treatmentfilesource", + "delete_own_filetreatment", "archaeological_finds", - "treatmentfilesource" + "treatmentfile" ] ] } @@ -7120,12 +6020,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de demande de traitement rattach\u00e9s : lecture", + "name": "Auteurs : ajout", "permissions": [ [ - "view_own_filetreatmentsource", - "archaeological_finds", - "treatmentfilesource" + "add_author", + "ishtar_common", + "author" ] ] } @@ -7133,12 +6033,17 @@ { "model": "auth.group", "fields": { - "name": "Documents de demande de traitement rattach\u00e9s : ajout", + "name": "Auteurs : modification/suppression", "permissions": [ [ - "add_own_filetreatmentsource", - "archaeological_finds", - "treatmentfilesource" + "change_author", + "ishtar_common", + "author" + ], + [ + "delete_author", + "ishtar_common", + "author" ] ] } @@ -7146,17 +6051,12 @@ { "model": "auth.group", "fields": { - "name": "Documents de demande de traitement rattach\u00e9s : modification/suppression", + "name": "Auteurs : lecture", "permissions": [ [ - "change_own_filetreatmentsource", - "archaeological_finds", - "treatmentfilesource" - ], - [ - "delete_own_filetreatmentsource", - "archaeological_finds", - "treatmentfilesource" + "view_author", + "ishtar_common", + "author" ] ] } @@ -7315,28 +6215,5 @@ ] ] } -}, -{ - "model": "auth.group", - "fields": { - "name": "Import : ajout/modification/suppression", - "permissions": [ - [ - "add_import", - "ishtar_common", - "import" - ], - [ - "change_import", - "ishtar_common", - "import" - ], - [ - "delete_import", - "ishtar_common", - "import" - ] - ] - } } ] -- cgit v1.2.3