if a user has a mvp or any label and that user created a new user without logout then the newly created user will have those labels. is this a feature or my mistake i did't write any code to give labels
This sounds like a bug. Would you please create a GitHub issue?
kk
bug report : https://github.com/appwrite/appwrite/issues/7323
Could this be to do with the (intended) behaviour of when an anonymous session is created, then a user is created, the created user inherits the anonymous session?
To convert an anonymous session, you're supposed to call the update email and update password endpoints
is this a vulnerability ?
Not really
well i used labels to give permission to group of users to execute a function which is cannot be used by all. now by using this bug a user can give other user its permission
which is the best way to give a group of user permission
A workaround can be to prevent creating accounts via the create account API and instead expose it via a function
or you can use prefs
Prefs can be modified by the user. That wouldn’t be secure. Also, that wouldn’t help in this scenario anyway, as prefs would also be carried over.
Oh yes 🙌
Recommended threads
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- context deadline exceeded
Hi, in one of my projects i continuously receive context deadline exceeded when trying to reach users API from my local machine: https://fra.cloud.appwrite.io/v...
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...