Suiii
I will have the client collections and many more collections (clientHealth, clientActivity, clientVisit) which are subordinate to the clients.
- When create new document of clients collection, I will give list of auth users to grant permission of specific documents. So what is the best way to give permissions to other documents of other subordinate collections. For example, if users can access documents of the client collection , it also can have permission to other documents of other collections.
- I would consider add clientId to other collections instead of the relationship.
Please suggest me what is the best approach of this.
TL;DR
Developers want to grant permission to sub-collections based on permissions given to the main collection (clients). The best approach is to add the clientId to the subordinate collections instead of a relationship. This way, users with permission for the main collection can also access related sub-collection documents. Recommended threads
- Rate Limit of project
AppwriteException: Rate limit for the current endpoint has been exceeded. Please try again after some time. So , how much time I have to wait and why does it h...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...