Same collection different find

I use CollectionFS to upload and handle images.

Users select images to reflect who they are.

Each user should be able to get only his/here images but at the same time be able to browse other images that belong to a public library that I’ve as admin added, e g list of cars.

Currently I have a publication of Images and find per userId for their own specific images. Works great. But how do I deal with users browsing other images in the public library under my control?


Finding my own answer. I mark them as lib:0 for user images and lib:1 for library images then use $or Images.find({ $or: [ {userId:this.userId}, {lib:1} ]})