-
Notifications
You must be signed in to change notification settings - Fork 64
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
access denied with PRIVATE_STORAGE_AUTH_FUNCTION = 'private_storage.permissions.allow_authenticated' #46
Comments
what is the error you get? |
Don't know if my problem is same as @aravindmrao, but I found strange behavior. First I created my own access function that work pretty fine, but later I discovered that some users get 403 error while function worked correctly. Then I commented out my access function and set Here is the case, others may vary from this, but same point.
One more:
Here's my view: class BasePDFView(PrivateStorageDetailView):
model = BaseContent
content_type = "application/pdf"
content_disposition = "attachment" Also found out that cases mostly attached to Xiaomi or Samsung User Agents, don't know really why this happening. |
uploading private files works just fine but, I want my users who are logged in to the app to be able to download the file from S3.
does this PRIVATE_STORAGE_AUTH_FUNCTION = 'private_storage.permissions.allow_authenticated' enable that? am I missing something here?
The text was updated successfully, but these errors were encountered: