Resolving references to Users when collection is marked as 'private'
J
Jason Barron
started a topic
almost 7 years ago
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.
C
Caroline
said
almost 7 years ago
I'll move this to feature requests so we can keep track of it there.
Jason Barron