Locked thread checks moved to permission checking functions - allows moderators to post in locked threads among other thigns Banned users are devoid of any permissions Some permission checking functions changed to take more appropriate parameters
Merge remote-tracking branch 'upstream/master' into permissions-improvements
Merge branch 'master' into permissions-improvements
Changed can_delete_(post|topic) to appropriately take only post and topic as parameters
Fixed tests
Merge pull request #75 from novist/permissions-improvements

Permissions improvements