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
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...
- 1.8.1 - Databases - inline updating a ro...
When updating a database field via the inline edit method, the `$updatedAt` column does not get updated. Only if the row is updated by the "Update" interface (t...