edit - Made the update! Sorry anyone who went to the site when it was down for 20 seconds
prev edit - ans -> and
edit - Made the update! Sorry anyone who went to the site when it was down for 20 seconds
prev edit - ans -> and
* See other peoples rewards (just go to /rewards/whatever-id), not that big a deal, unless you want to keep them private.
* Go to the edit form of any reward (just go to /rewards/whatever-id/edit), big-deal factor is same as above.
* Delete other peoples rewards (inspect the delete link of any reward in chrome, modify the id in the href, then click it), this is somewhat of a big deal. Sorry to whoever had reward with id 4!
PITA I know, security doesn't get easier I'm afraid :)
EDIT: updated gist to be a little more useful, though you probably worked the required code out for yourself.
This won't take care of the parameter whitelisting for you though.
http://i.imgur.com/KfKFGjd.png
I assume 1, 2, and 3 are supposed to be on the same line?