Makes getUsersInRole usable inside publish functions by granting the ability to limit the fields returned on the matching Meteor.user documents.
The PR accomplishes this by simply passing through an optional options object identical to the Collection.find options object to the final call to Meteor.users.find.
Makes
getUsersInRole
usable inside publish functions by granting the ability to limit the fields returned on the matchingMeteor.user
documents.The PR accomplishes this by simply passing through an optional
options
object identical to theCollection.find
options object to the final call toMeteor.users.find
.Test and documentation update included.