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

Require a logged-in user for uploads #174

Open
brianhelba opened this issue Jan 17, 2021 · 1 comment
Open

Require a logged-in user for uploads #174

brianhelba opened this issue Jan 17, 2021 · 1 comment

Comments

@brianhelba
Copy link
Contributor

This could be implemented by simply adding @permission_classes([IsAuthenticated]) to each view function.

However, it may be better to not enforce authentication in S3FF, and give downstreams the ability to veto uploads on a per-request basis.

@zachmullen
Copy link
Contributor

If we're going to leave this up to downstreams, we need to call out how to do it in the docs, because it'll be the most common case. A setting to control it would also be nice.

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

No branches or pull requests

2 participants