diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-05-29 18:31:13 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-05-29 18:31:13 +0200 |
commit | 3759641b9768c857a8a63d0737aa4078d4e85f82 (patch) | |
tree | 823a0b006bf147b722d217dabe579a1c8cafc814 /fixtures | |
parent | 461bf91cbf79e7fa899b66d9896a16a6474ed5d4 (diff) | |
download | Ishtar-3759641b9768c857a8a63d0737aa4078d4e85f82.tar.bz2 Ishtar-3759641b9768c857a8a63d0737aa4078d4e85f82.zip |
Updat fixture with new permissions and groups
Diffstat (limited to 'fixtures')
-rw-r--r-- | fixtures/initial_data-auth-fr.json | 441 |
1 files changed, 441 insertions, 0 deletions
diff --git a/fixtures/initial_data-auth-fr.json b/fixtures/initial_data-auth-fr.json index 4fa4af0e1..048c3ab55 100644 --- a/fixtures/initial_data-auth-fr.json +++ b/fixtures/initial_data-auth-fr.json @@ -5027,6 +5027,336 @@ } }, { + "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 Object type quality type", + "content_type": [ + "archaeological_finds", + "objecttypequalitytype" + ], + "codename": "add_objecttypequalitytype" + } +}, +{ + "model": "auth.permission", + "fields": { + "name": "Can change Object type quality type", + "content_type": [ + "archaeological_finds", + "objecttypequalitytype" + ], + "codename": "change_objecttypequalitytype" + } +}, +{ + "model": "auth.permission", + "fields": { + "name": "Can delete Object type quality type", + "content_type": [ + "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.group", "fields": { "name": "Op\u00e9rations : lecture", @@ -6544,5 +6874,116 @@ ] ] } +}, +{ + "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" + ] + ] + } +}, +{ + "model": "auth.group", + "fields": { + "name": "Entit\u00e9s (EA) : ajout", + "permissions": [ + [ + "add_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ] + ] + } +}, +{ + "model": "auth.group", + "fields": { + "name": "Entit\u00e9s (EA) : lecture", + "permissions": [ + [ + "view_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ] + ] + } +}, +{ + "model": "auth.group", + "fields": { + "name": "Entit\u00e9s (EA) : modification/suppression", + "permissions": [ + [ + "change_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ], + [ + "delete_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ] + ] + } +}, +{ + "model": "auth.group", + "fields": { + "name": "Entit\u00e9s (EA) rattach\u00e9es : ajout", + "permissions": [ + [ + "add_own_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ] + ] + } +}, +{ + "model": "auth.group", + "fields": { + "name": "Entit\u00e9s (EA) rattach\u00e9es : lecture", + "permissions": [ + [ + "view_own_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ] + ] + } +}, +{ + "model": "auth.group", + "fields": { + "name": "Entit\u00e9s (EA) rattach\u00e9es : modification/suppression", + "permissions": [ + [ + "change_own_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ], + [ + "delete_own_archaeologicalsite", + "archaeological_operations", + "archaeologicalsite" + ] + ] + } } ] |