
only owners is allowed as team roles.... any ideas on why? i have members of team with other roles
let promise = databases.createDocument( '<DATABASE_ID>', '<COLLECTION_ID>', {'actorName': 'Chris Evans', 'height': 183}, [ Permission.read(Role.any()), // Anyone can view this document Permission.update(Role.team("writers")), // Writers can update this document Permission.update(Role.team("admin")), // Admins can update this document Permission.delete(Role.user("5c1f88b42259e")), // User 5c1f88b42259e can delete this document Permission.delete(Role.team("admin")) // Admins can delete this document ] );
Recommended threads
- Implement sorting (by $createdAt) while ...
??
- Global Variables
I'm building a Azure DevOps Pipeline Task to deploy my functions to Appwrite using REST APIs. How can I set project global variables via REST? This endpoint do...
- Function Event wildcards caused infinite...
Hi guys <@&1319717958645452800> I created a function to be triggered everytime an item is added or checked state changed in items collection it update the li...
