Start a new topic

Resolving references to Users when collection is marked as 'private'

My User collection is marked as Private to protect my user data, but one of the side effects here is that if I have an entity that contains a reference to the user collection, it does not get resolved which is somewhat expected I suppose. However, given the '_id' of a user, it is still possible to at least partially resolve the user reference if I were to use the "_lookup" endpoint which gives me exactly the subset of data I want. Could Kinvey be modified such that resolving a user reference followed this code path as a fallback if the user collection is private?

Hi Jason, thanks for the suggestion! while we do not currently have plans to add lookup-like behavior to reference resolution, we'll certainly consider it.
I'll move this to feature requests so we can keep track of it there.
Login or Signup to post a comment