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
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...