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
- Query multi-tenant db with $permissions ...
I'm setting up a multi-tenant database with RLS enabled. My users my have permissions set for multiple Teams, and as such when they query the database with the ...
- All projects deleted
Hello, from the appwrite console last week I re-activated some of my old project and published them, yesterday I checked and none of the apps were working, now ...
- cant resume project
Invalid console fingerprint event i try man time