Skip to content
Back

Permission issue on the server

  • 0
  • Databases
  • Web
vyuba
16 Jun, 2025, 22:08

I'm setting document permissions on the server when creating a document using Appwrite. I’m using Permission.read(Role.user(userId)) to allow a specific user access. However, on the client side (also using Appwrite), the document is not being fetched—even though the logged-in user matches the one in the permission. Why is the client not seeing the document despite the correct user-level permission being set?

TL;DR
Developers are encountering an issue with permission on the server when using Appwrite to set document permissions. Despite setting Permission.read(Role.user(userId)), the document is not being fetched on the client side.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more