Understanding “Not permitted. Untrusted code may only update documents by ID.” Meteor error
From the Meteor blog: Changes to allow/deny rules Starting in 0.5.8, client-only code such as event handlers may only update or remove a single document at a time, specified by _id. Method code can still use arbitrary Mongo selectors to manipulate any number of documents at once. To run complex updates from an event handler, … Read more