I create a document and add permissions for the user and their team (using team ID). When I retrieve the document the team level permissions are not there, but the user permissions are. If I add the team permissions in the console and retrieve the doc in my app, I can see the permissions that I would expect for user and team.
The attached screen snip shows the data passed into the create call, followed by the data returned from the get document.
The format of the permissions used in create are exactly the same as what I get back if I have added the team permissions manually in the console.
I also tried [teamid]/member as suggested in the custom permissions, but this made no difference.
Any thoughts team?
Recommended threads
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...