I tried to update an array in a collection by doing
Configs.update({_id:this.parent._id, "cles.cle":this.context.cle},
{$set: {"cles.$.alias": $(e.target).val()}});
but I got this error
Uncaught Error: Not permitted. Untrusted code may only update documents by ID. [403]
How can I update data in an array, client side (minimongo) ?