Right now I'm storing stuff like email, location and phone number in my user colldction. After talking with some appwriters, I found out I could debloat my users collection and put some of that data in the Auth User Prefs. My question is if I do that can I use that to see someone else's data for a profile. I'm working on a whatsapp clone. I want to see other users phone numbers and email
The main different will be what you've mentioned is the user prefs are accessible only by the current user.
You can override it be use the Users
server side SDK, But, it still won't be easy for you to iterate over the data, as you'll to get user by user.
So if you're talking about information that is relevant only for the user - Let's say cookie consent flag then User prefs would be your freind.
If you looking on some data that need to be accessed and iterate able with easy then you'll need to stick with the custom collection.
Is this make sense?
Also, the user prefs is limit to a total size of 64kB per user.
Ahhhh yup makes alot of sense
Ohhhh
It's just for settings
Gotcha
Exactly ๐
CLOSED
[SOLVED] AUTH Prefs question: can I make other users see other users Prefs?
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- Trying to Figure out how to delete a use...
If i have a button in an app that allows a user to delete their account, can I not just call a function from my swift app to Appwrite to have the account delete...