Skip to content
Back

Is it possible to search document by permission?

  • 0
  • Auth
  • Web
  • Cloud
ThisIsStep2
8 Jul, 2024, 20:20

I would like to allow the Admins, to see which documents does the user has permissions to. Is it possible to search by permissions?

TL;DR
Developers are looking to search documents by permissions. One developer suggests using `Query.contains` targeting the $permissions attribute, but it hasn't been tested yet. The goal is to allow Admins to see which documents a user has permissions for.
Kenny
8 Jul, 2024, 20:23

I think you can use the Query.contains and target the $permissions attribute. But I've not tried 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