Hello, I want to implement server side listDocument (listed) and getDocument (detail) with authentication JWT.
For listDocument, authentication with JWT successfully
but for getDocument, it's always return user_unauthorized
.
I was make sure the user who want to get document have privileged to see document.
Even the document set permission to Any, it's same return user_unauthorized
Does the collection for that document have any relationship attributes?
Yes, they have
Owh,, I see.
Because that document have relationship to other collection who not have permission.
Recommended threads
- Error uploading more than 1MB
- Access blocked by CORS policy
Getting the following error message while uploading or updating image files at Appwrite Storage. ``` Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/...
- Many to many relationships restrictions ...
Hi! I'm creating and testing a simple data model and I'm a bit confused about how one way relationship restrictions work with many to many relationship. I will ...