Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(API): Allow anonymous users to upload proofs #607

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Dec 6, 2024

What

Changes to the proof /upload endpoint:

  • remove the permission check
  • set the owner to openfoodfacts-contributors if the user is not authenticated

@raphodn raphodn requested a review from raphael0202 December 6, 2024 10:47
@raphodn raphodn linked an issue Dec 6, 2024 that may be closed by this pull request
@raphael0202 raphael0202 merged commit 0c68bf8 into main Dec 6, 2024
8 checks passed
@raphael0202 raphael0202 deleted the raphodn/proof-upload-anonymous branch December 6, 2024 11:42
@raphodn raphodn added the Proofs label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Proofs: allow anonymous contributions
2 participants