Skip to content

Teams can not fetch their own submissions using the CLICS API #1117

Open
@johnbrvc

Description

@johnbrvc

Describe the issue:
Using the CLICS 2023-06 API, a team can not fetch the source code for their own submissions.

To Reproduce:

  1. Start up a contest where a team has made a submission
  2. Make sure the team that made the submission has the ALLOWED_TO_FETCH_RUN and VIEW_EVENT_FEED permissions.
  3. Start up an event feeder for API version 2023-06
  4. Request the source code (files) for the submission the team made. For example, if the submission # was 123:
    curl -k https://team1:team1@localhost:50443/contests/CONTESTID/submissions/123/files
  5. An Unauthorized HTTP error will be returned

Expected behavior:
The submission zip file, 123.zip, should be fetched.

Actual behavior:
HTTP Unauthorized error is returned.

Environment:
All

Log Info:
Screenshots:

Additional context:

Metadata

Metadata

Assignees

Labels

CLICS CCS UpdateChanges to update to the CLICS specificationNEXT ContestConsider fixing for next contetOne ApprovalA very low risk and low LOE PR/ChangePrimary CCSRequired for PC2 to act as primary CCSbugSomething isn't workinghigh priorityBugs that are high priority (to fix)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions