
in the appwrite console i can add multiple users to read permission of db document but when im trying to implement that in apple-appwrtie-sdk thats crash its a bug ? for example i have two users -> user1_ID = "a1", user2_ID = "a2" i use database.createDocument(databaseId:"databaseId",collectionID:"collectionID",documentID:ID.unieqe() ,Data:[data...], Permissions:[Permission.read(Role.user(user1_ID), Permission.read(Role.user(user2_ID) ) ]) error : the bug Permissions must be one of: (any, users, user:user1_ID, user:user1_ID/verified, users/verified, label:admin)
Recommended threads
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- Database Double Requesting Error.
I am getting error for creating new document in an collection with new ID.unique() then too getting error of existing document. When button is pressed one docum...
