Back

Are there any plans to support custom fields for users?

  • 0
  • Accounts
wintercounter✌🏼
9 Oct, 2023, 14:47

In my project users can purchase credits and it'd be nice if I'd be able to store the current balance together with the user's profile. Just wondering if there are any plans to have such feature or not? I can make a feature request issue at Github if there are no such plan yet.

TL;DR
There are no current plans to support custom fields for users, but you can create a feature request on Github. It is recommended to use a separate collection for user data or user preferences to avoid manipulation of important data.
D5
9 Oct, 2023, 14:56

You have user preferences. Another option is having a database collection for that

D5
9 Oct, 2023, 14:59

In your case it will be better to have a collection with user data in order to avoid users from being able to falsify the amount of credits by modifying it

D5
9 Oct, 2023, 15:00

And updating such data through an appwrite function

darShan
9 Oct, 2023, 15:35

As @D5 said, only add data in preference which the user should be allowed to change or the sort of that data that wouldn't affect the usecases much, otherwise a separate collection hooked with a function is good to go 🚀

D5
9 Oct, 2023, 15:42

The problem is that it will be used for balance as he said, it will not be the most ideal thing due to permissions, better using a collection for such use case 😅

Drake
9 Oct, 2023, 18:55

Not at the moment but you can 👍 this issue: https://github.com/appwrite/appwrite/issues/4805

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more