Can someone show me how to pass permission parameter for teams and role in command line. I can find it nowhere in the documentation. I tried this "appwrite databases createCollection --databaseId 6510add9771bcf260b40 --collectionId "unique()" --name test3 --permissions 'create("any")' --permissions 'create("team("651b3769cb0eae4aff5b")' " but it is not working. An example with role also will be nice. Thanks in advance.
Try this instead
--permissions 'create("any")' 'create("team:651b3769cb0eae4aff5b")'
I got this from here https://appwrite.io/docs/tooling/command-line/commands#create-document
thanks a lot
[solved] Permissions with appwrite cli
[SOLVED] Permissions with appwrite cli
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...