IQSS / IQSS/dataverse

File API download bypasses terms of use and guestbook

Open
#2,911 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: API Size: 30 Type: Bug
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

Edit: please note that this part in the original description: If you download the file directly from the API, you don't create a row here, so the count does not go up is no longer true (hasn't been in years). Downloads via the API are counted. This issue is no solely about the bypassing of the terms of use and/or guestbook popups w/ API access.

Currently, when you download a file through the UI, all logic for creating a GuestbookResponse row is down before hitting the API to download the file.

If you download the file directly from the API, you don't create a row here, so the count does not go up. Also this bypasses the terms of use and guestbook completely. We need to make sure a ) a row gets created, so counts are accurate, b) that we determine how we want to handle the bypassing of the terms of use (via a token?) rather than just acting like they don't exist.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the UI flow that creates GuestbookResponse and the API download entry point, confirming the current counting behavior described in the edit. Determine the agreed handling for terms-of-use and guestbook bypasses, then verify that API downloads follow that behavior and counts remain accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.