[SOLVED] How to use --permissions option on appwrite cli
- 0
- Web
- Databases
- Cloud
- Self Hosted
- Functions
Hi, how can I resolve this error?
zsh: number expected```
Try like this
appwrite databases createCollection --databaseId 646feb70c324e93d5f31 --collectionId 647033927850c2f34d16 --name area --permissions read(\"any\")
no luck it is returning this
unknown file attribute: "
What's the output of appwrite --version?
2.0.2
Okay, what happened if you try to add quotes to all values and without the permissions ?
appwrite databases createCollection --databaseId "646feb70c324e93d5f31" --collectionId "647033927850c2f34d16" --name area
it creates the collection area but I need to create it with permission. I am making a script for deleting a collection and recreating it again.
Good Just wanted to be sure about something.
So now try like this
appwrite databases createCollection --databaseId "646feb70c324e93d5f31" --collectionId "647033927850c2f34d16" --name area --permissions "read(\"any\")"
Nice! looks good! thanks man
[SOLVED] How to use --permissions option on appwrite cli
Recommended threads
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...