Skip to content

Commit

Permalink
allow anonymous uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Dec 2, 2024
1 parent f5f5525 commit 2f0412a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions application/test/api_access_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,22 @@
url_pattern="api/v1/anonymous-uploads/<str:dataset_id>",
params={"dataset_id": 1},
group_to_expected_status_code={
ADMIN: 200,
GUEST: 200,
PARTICIPANT: 200,
ORGANIZER: 200,
ORGANIZER_WRONG_TASK: 200,
ADMIN: 500,
GUEST: 500,
PARTICIPANT: 500,
ORGANIZER: 500,
ORGANIZER_WRONG_TASK: 500,
},
),
route_to_test(
url_pattern="api/v1/anonymous-uploads/<str:dataset_id>",
params={"dataset_id": "does-not-exist"},
group_to_expected_status_code={
ADMIN: 200,
GUEST: 200,
PARTICIPANT: 200,
ORGANIZER: 200,
ORGANIZER_WRONG_TASK: 200,
ADMIN: 500,
GUEST: 500,
PARTICIPANT: 500,
ORGANIZER: 500,
ORGANIZER_WRONG_TASK: 500,
},
),
route_to_test(
Expand Down

0 comments on commit 2f0412a

Please sign in to comment.