From 67480003273adf55ce62a453fd05d6a53b6f8dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Sat, 14 Oct 2017 22:44:42 +0200 Subject: [PATCH] Fix BOcal group fixture: natural IDs for permissions --- bocal_auth/fixtures/bocal_group.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bocal_auth/fixtures/bocal_group.json b/bocal_auth/fixtures/bocal_group.json index b6638e7..2beed4d 100644 --- a/bocal_auth/fixtures/bocal_group.json +++ b/bocal_auth/fixtures/bocal_group.json @@ -1 +1 @@ -[{"model": "auth.group", "pk": 1, "fields": {"name": "BOcal", "permissions": [28, 29, 30, 19, 20, 21, 22, 23, 24, 25, 26, 27]}}] +[{"model": "auth.group", "fields": {"name": "BOcal", "permissions": [["add_apikey", "api", "apikey"], ["change_apikey", "api", "apikey"], ["delete_apikey", "api", "apikey"], ["add_publication", "mainsite", "publication"], ["change_publication", "mainsite", "publication"], ["delete_publication", "mainsite", "publication"], ["add_publicationyear", "mainsite", "publicationyear"], ["change_publicationyear", "mainsite", "publicationyear"], ["delete_publicationyear", "mainsite", "publicationyear"], ["add_siteconfiguration", "mainsite", "siteconfiguration"], ["change_siteconfiguration", "mainsite", "siteconfiguration"], ["delete_siteconfiguration", "mainsite", "siteconfiguration"]]}}] \ No newline at end of file