diff --git a/server/tests/fixtures/testing_data.json b/server/tests/fixtures/testing_data.json index b810e304..35e19058 100644 --- a/server/tests/fixtures/testing_data.json +++ b/server/tests/fixtures/testing_data.json @@ -622,29 +622,51 @@ "model": "bcodb.bcodb", "pk": "8be48b95-86ed-439a-a2eb-e60f2dddba1e", "fields": { - "bcodb_username": "bco_publisher", + "bcodb_username": "bco_api_user", "hostname": "127.0.0.1:8000", "human_readable_hostname": "BCO Server (Default)", "public_hostname": "http://127.0.0.1:8000", - "token": "2f2a599026581c158a07f968c56292c77f4be875", + "token": "07801a1a4cdbf1945e22ac8439f1db27fe813f7a", "owner": "80ee9548-274f-426b-bf80-046c9210e33b", "user_permissions": [ + "Can add BCOs with prefix OTHER", + "Can add BCOs with prefix TEST", + "Can change BCOs with prefix OTHER", + "Can change BCOs with prefix TEST", + "Can delete BCOs with prefix OTHER", + "Can delete BCOs with prefix TEST", + "Can draft BCOs with prefix OTHER", + "Can draft BCOs with prefix TEST", + "Can publish BCOs with prefix OTHER", + "Can publish BCOs with prefix TEST", + "Can view BCOs with prefix OTHER", + "Can view BCOs with prefix TEST", "Can add BCOs with prefix BCO", "Can change BCOs with prefix BCO", "Can delete BCOs with prefix BCO", "Can draft BCOs with prefix BCO", + "Can view BCOs with prefix BCO", "Can publish BCOs with prefix BCO", - "Can view BCOs with prefix BCO" + "Can add prefix", + "Can change prefix", + "Can delete prefix", + "Can view prefix" ], "group_permissions": [ "bco_drafter", - "bco_publisher" + "bco_publisher", + "prefix_admins", + "bco_api_user", + "test_drafter", + "test_publisher", + "other_drafter", + "other_publisher" ], - "account_creation": "2022-05-10T20:35:14.506Z", + "account_creation": "2022-05-10T20:35:53Z", "account_expiration": "", - "last_update": "2023-10-09T13:58:01.473Z", - "recent_status": "403", - "recent_attempt": "2023-10-11T15:39:36.020983+00:00", + "last_update": "2023-12-19T15:35:47.071Z", + "recent_status": "200", + "recent_attempt": "2023-12-19T15:35:47.071765+00:00", "created": null } },