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
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...