Back

query for list of documents for specific $permissions

  • 0
  • Databases
  • Web
Alsemo
15 Nov, 2023, 03:50

First of all, thanks to all the Appwrite team for creating a great software, I'm kind of new for this db and yet so far I'm having a really productive time learning and doing my first project with it.

I want to ask for some pointers on how to use query to list documents with specific $permissions.

For example, currently I have some collections of document which have all user have read(), multiple user $id for update(), but only creator have delete() $permission. What I am aiming is that for those user(s) who have update() permission to use query to retrieve only those documents. Thanks in advance.

TL;DR
User wants help with using a query to list documents with specific permissions in Appwrite. User has collections of documents where all users have read access, multiple users have update access, and only the creator has delete access. User wants to retrieve only the documents that users with update access can access. Currently, there is no support for this feature. User is advised to follow an open issue on GitHub for updates.
Drake
15 Nov, 2023, 15:03

Not supported at the moment. You might want to 👍 this issue: https://github.com/appwrite/appwrite/issues/5169

Alsemo
15 Nov, 2023, 17:25

Thanks @Steven for your info. Okay then will find out a workaround for this.

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