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 when pushing a Function to self-ho...
I have a self-hosted instance of Appwrite 1.6.0 with two working functions created and deployed back in the Appwrite 0.x days. I've since updated Appwrite CLI t...
- Client sent data but the function got em...
Hi everyone. I have function which requires jwt in json format. The function works great with android sdk but I need to call it with RestApi from other platform...
- Help with Appwrite Realtime
so i'm testing a chat app feature that i'm making and i'm trying to chat between two accounds on different devices connected to the local development server but...