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

Fix Image / Document Permissions #6

Open
tr11 opened this issue Jan 9, 2019 · 2 comments
Open

Fix Image / Document Permissions #6

tr11 opened this issue Jan 9, 2019 · 2 comments

Comments

@tr11
Copy link
Owner

tr11 commented Jan 9, 2019

No description provided.

@erikdstock
Copy link

👋 Hello! Checking this library out and wondering what the status is on this issue. So far we haven't been able to query any images through graphiql, and we're wondering if you have a pattern in mind for how image renditions & serialization should work in via graphql (especially when you get down to the level of image embeds in a streamfield paragraph block).

Is the intent for example that we serialize a paragraph block directly into some api that works for us, or parse these <embed id=/"123/" fields and then request their images?

@tr11
Copy link
Owner Author

tr11 commented May 28, 2019

Hi, I should have put a little description on this issue. This is actually about the reverse, restricting documents and images to users that should have access to it.

Regarding your use case, we use images in the way shown in the images tests in https://github.com/tr11/wagtail-graphql/tree/master/tests/graphql.
I updated the companion repo for this one, https://github.com/tr11/wagtail-angular-example, to show how to load images that form a block within a streamfield.

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

2 participants