phpBB-Blog/phpBB-Blog — Issue #75: Check auth for approving comments
Author: imkingdavid
Created: 2012-03-09 17:06:26+00:00
State: open

Currently the only auth check is for displaying the link, afaik. We don't check auth in the switch case 'apprvcmnt' or in the blog::toggle_comment_approval() method.

IMO auth should only be done outside of functions, the functions should only do what they're supposed to do, rather than also checking auth and such. So it'll need to be added into the case.