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

Specify the storage/access controls? #137

Open
puterleat opened this issue Jun 17, 2015 · 3 comments
Open

Specify the storage/access controls? #137

puterleat opened this issue Jun 17, 2015 · 3 comments
Labels

Comments

@puterleat
Copy link

Is it possible to specify a particular Storage instance to use with photologue, for example if you wanted to apply access controls to a gallery and the hosted images?

@richardbarran
Copy link
Owner

I'm not sure that I understand the question - by "storage instance", do you mean S3?

@puterleat
Copy link
Author

Sorry - wasn't clear. Although I would be using S3 in this case, I actually meant the more general idea that you could specify a particular storage for photologue, rather than using the default media storage. See: https://docs.djangoproject.com/en/1.8/topics/files/#storage-objects

This way you can create a separate S3 storage which isn't publicly readable and one could implement gallery permissions in the views.

@richardbarran
Copy link
Owner

Ok, I understand now! I've never seen or used that feature of Django.
At present Photologue does not support this feature. There's no reason why it could not... but it would need someone to code it and send in a pull request! :-)

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

No branches or pull requests

2 participants