Are server-side methods also governed by publications? I thought a server-side method can modify whatever it wants.
In my case, in template's helper, I have Meteor.call('serverMethod', id) and then define serverMethod in collections/methods.js.
Through the publication, template only has access to one record (the id one), but that's the only one serverMethod sees.
But when I publish everything to template, serverMethod sees everything.
Isn't that odd? I thought the purpose of a server method is to be trusted, so that I can modify anything I need to without publishing the entire database? Is there something I'm missing?
My allow permissions are set fine, same as other parts of the app which work fine.