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

Allow uploads without authorization event #18

Open
0xtrr opened this issue Nov 16, 2024 · 1 comment
Open

Allow uploads without authorization event #18

0xtrr opened this issue Nov 16, 2024 · 1 comment

Comments

@0xtrr
Copy link
Owner

0xtrr commented Nov 16, 2024

Authorization events was previously required for uploads but this has recently been updated to be optional.

  • Config file must be updated with a new field require_auth under the "upload" section, similar to what we already have for the "get" section.
  • The new line in the config should by default be set to true.
  • Upload handler must be updated to check the new setting and only validate the auth event if the setting is set to true.
@0xtrr
Copy link
Owner Author

0xtrr commented Nov 30, 2024

This will require some bigger changes in the codebase as well as in the database schema. I'm not sure we want to do this unless people actually need it. That said, it might be better to do this as early as possible to not have to deal with this later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant