in my app (next.js, hono) I work with all the collections, can read and write because i gave the registered users permission to do so. But since the users is a different kind of collection, I don't see where I can set the permissions to it. I want to give registered users the ability to read the whole users list. How?
Using the web sdk you really can't do that, but ultimately you really shouldn't allow users to read other user objects as they contain sensitive information. What I would recommend doing instead in maintain a users collection that stores stuff like user name, profile picture, ect. And giving them the ability to read from that.
Recommended threads
- Cloud function deployment failures
When I run appwrite push functions, select the function I want to deploy, confirm with a YES, is starts deploying but goes into error. I need to repeat the ste...
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Failed to create function
Hey everyone 👋 I'm having an issue creating Functions on Appwrite Cloud and I'm not sure if it's a platform bug or something wrong in my project. When I try t...