diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-24 17:23:04 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-24 17:23:04 +0200 |
commit | 973780ccc3aaceeefa754530fbe63869a3c03504 (patch) | |
tree | e70c34f6152ddb45fe575f12e06d7819e53efdb3 /fixtures | |
parent | 00cb05b9669efc165e7c1200903d60ddd0ca1391 (diff) | |
download | Ishtar-973780ccc3aaceeefa754530fbe63869a3c03504.tar.bz2 Ishtar-973780ccc3aaceeefa754530fbe63869a3c03504.zip |
Update permissions
Diffstat (limited to 'fixtures')
-rw-r--r-- | fixtures/initial_data-auth-fr.json | 293 |
1 files changed, 293 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" + ] + ] + } } ] |