Skip to content

Add decorator for user-defined authorization check #389

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blag
Copy link

@blag blag commented Jul 13, 2025

I defaulted to no_check, because there is currently no authorization checking, but I think we should change that to be more secure by default even though it breaks backwards compatibility.

I think a good default would be s3_file_field.views.is_site_user - checking if the user is already authenticated.

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

Successfully merging this pull request may close these issues.

1 participant