summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fixtures/initial_data-auth-fr.json293
-rw-r--r--ishtar_common/fixtures/initial_data-fr.json3
2 files changed, 296 insertions, 0 deletions
diff --git a/fixtures/initial_data-auth-fr.json b/fixtures/initial_data-auth-fr.json
index 43d11248b..87eb1d3a1 100644
--- a/fixtures/initial_data-auth-fr.json
+++ b/fixtures/initial_data-auth-fr.json
@@ -4807,6 +4807,215 @@
}
},
{
+ "model": "auth.permission",
+ "fields": {
+ "name": "Can add Importer - Target key group",
+ "content_type": [
+ "ishtar_common",
+ "targetkeygroup"
+ ],
+ "codename": "add_targetkeygroup"
+ }
+},
+{
+ "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.group",
"fields": {
"name": "Op\u00e9rations : lecture",
@@ -4815,6 +5024,11 @@
"view_operation",
"archaeological_operations",
"operation"
+ ],
+ [
+ "view_operationrelation",
+ "archaeological_operations",
+ "recordrelations"
]
]
}
@@ -4841,6 +5055,11 @@
"view_contextrecord",
"archaeological_context_records",
"contextrecord"
+ ],
+ [
+ "view_recordrelation",
+ "archaeological_context_records",
+ "recordrelations"
]
]
}
@@ -5050,6 +5269,11 @@
"add_operation",
"archaeological_operations",
"operation"
+ ],
+ [
+ "add_recordrelations",
+ "archaeological_operations",
+ "recordrelations"
]
]
}
@@ -5068,6 +5292,16 @@
"delete_operation",
"archaeological_operations",
"operation"
+ ],
+ [
+ "change_recordrelations",
+ "archaeological_operations",
+ "recordrelations"
+ ],
+ [
+ "delete_recordrelations",
+ "archaeological_operations",
+ "recordrelations"
]
]
}
@@ -5112,6 +5346,11 @@
"add_contextrecord",
"archaeological_context_records",
"contextrecord"
+ ],
+ [
+ "add_recordrelations",
+ "archaeological_context_records",
+ "recordrelations"
]
]
}
@@ -5130,6 +5369,16 @@
"delete_contextrecord",
"archaeological_context_records",
"contextrecord"
+ ],
+ [
+ "change_recordrelations",
+ "archaeological_context_records",
+ "recordrelations"
+ ],
+ [
+ "delete_recordrelations",
+ "archaeological_context_records",
+ "recordrelations"
]
]
}
@@ -6235,5 +6484,49 @@
]
]
}
+},
+{
+ "model": "auth.group",
+ "fields": {
+ "name": "Contenants : ajout",
+ "permissions": [
+ [
+ "add_container",
+ "archaeological_warehouse",
+ "container"
+ ]
+ ]
+ }
+},
+{
+ "model": "auth.group",
+ "fields": {
+ "name": "Contenants : lecture",
+ "permissions": [
+ [
+ "view_container",
+ "archaeological_warehouse",
+ "container"
+ ]
+ ]
+ }
+},
+{
+ "model": "auth.group",
+ "fields": {
+ "name": "Contenants : modification/suppression",
+ "permissions": [
+ [
+ "change_container",
+ "archaeological_warehouse",
+ "container"
+ ],
+ [
+ "delete_container",
+ "archaeological_warehouse",
+ "container"
+ ]
+ ]
+ }
}
]
diff --git a/ishtar_common/fixtures/initial_data-fr.json b/ishtar_common/fixtures/initial_data-fr.json
index d9026cf49..4045094d9 100644
--- a/ishtar_common/fixtures/initial_data-fr.json
+++ b/ishtar_common/fixtures/initial_data-fr.json
@@ -839,6 +839,9 @@
],
[
"Documents op\u00e9ration : lecture"
+ ],
+ [
+ "Contenants : lecture"
]
]
}