Details
Description
Uploading package with API does not work.
Steps to reproduce:
```
curl -v \
--form contest_id=contest-id\
--form round_name=round-name \
--form package_file=@/path/to/file/abc.zip \
--header 'Authorization: Token XXX-XXX-XXX-XXX' \
https://sio2.mimuw.edu.pl/api/problems/package_upload/
```
Error code: 403
Returned JSON: `{"message":"Permission denied."}`
Tested on SIO and Szkopuł by different users with permissions.
PS (to person fixing)
It would be nice, if uploading packed would return problem_id needed by package_reupload, if that doesn't now.
Steps to reproduce:
```
curl -v \
--form contest_id=contest-id\
--form round_name=round-name \
--form package_file=@/path/to/file/abc.zip \
--header 'Authorization: Token XXX-XXX-XXX-XXX' \
https://sio2.mimuw.edu.pl/api/problems/package_upload/
```
Error code: 403
Returned JSON: `{"message":"Permission denied."}`
Tested on SIO and Szkopuł by different users with permissions.
PS (to person fixing)
It would be nice, if uploading packed would return problem_id needed by package_reupload, if that doesn't now.
Activity
- All
- Comments
- History
- Activity
- Transitions
- Commits
Connect your code to JIRA
Link every code change to JIRA just by adding an issue keys in commit messages. Bridge the gap back to your source and know which changes fixed which JIRA issues.Git & Mercurial in the cloud
Collaborate across unlimited private code repositories.
Git behind the firewall
Manage and collaborate on Git repositories behind a firewall.
Browse and search code
Browse, search, and track source code repositories.