Hi,
This might have been asked few times, so sorry already, but could not find anything.
Is there a way to create a relation to user in a collection?
Or do I have to store plain ID as text and lookup users table by ID? If that is the case, how can I make some certain values in users to be visible for authenticated users only?
Not for now, as of now you'll need to mimic it by adding user_id field (or set the document ID to the user ID in case of one-to-one) to the collection
As for the visibility for specific user Appwrite got you cover and you can use the permissions module.
Do you know if there will be more native way to do it in the future?
I can't find any feature request on that right now but I think its planned
Recommended threads
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...