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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...