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

Defining access rules #25

Open
valdivieso01 opened this issue Nov 10, 2018 · 3 comments
Open

Defining access rules #25

valdivieso01 opened this issue Nov 10, 2018 · 3 comments

Comments

@valdivieso01
Copy link

hi!.. i need change te permissions of access adn check some parameter in the url, after compare whith my user return the file. Can you explain me how?

thanks

@Leinad7331
Copy link

Same issue in 2021.... Anybody has help?

I tried to define my own function:
PRIVATE_STORAGE_AUTH_FUNCTION = getattr(settings, 'my_own_function', 'private_storage.permissions.allow_superuser')

unfortunately this does not work.

@j2l
Copy link

j2l commented Jul 2, 2024

Thank you @xjlin0 ! God bless you!

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

4 participants