Hi, the question is pretty clear already. I am trying to add a "premium" label to my user once a certain request has finished. Is it possible to update my users labels throught the client sdk or should I use the server SDK meaning adding an endpoint to update the user on my node server.
Hi @Dynerus you can only update labels using only server SDK
For security, you can’t update using client SDK.
You can create function that can update labels using server SDK
Alright thanks for the quick answer! seemed pretty weird to me all account fields could be updated by the client except for the labels
Will do, thanks!
It’s good for example your case, only users with label premium can access certain documents or collections or storage buckets
If you don’t know, you can use labels for permissions
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...