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
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- Provider not enabled in Dotnet project
# Bug Report: Appwrite .NET SDK `CreateOAuth2Token` → `project_provider_disabled` ## Issue Using **Appwrite .NET SDK (v3.1.0)**, `CreateOAuth2Token` for Googl...
- Stuck on project restoration after inact...
Hey there! My project was paused due to inactivity today. I tried to restore it, but it's completely stuck on the restoration process. Could someone please tak...