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
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...