plapczyn / webrew

The world's foremost coffee related social network
2 stars 0 forks source link

Brew | Add Server side User validation #22

Open petelapczynski opened 7 years ago

petelapczynski commented 7 years ago

Add server side user validation to ensure the meteor user editing or deleting a Brew is the owner of the Brew.

petelapczynski commented 7 years ago

added coffeeeOwner check to server/methods/brew.js for 'coffees.removeById' and 'coffees.edit'