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
- cant resume project
Invalid console fingerprint event i try man time
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...