Blog: Moved permission checks for optimization

Moved the `role_or_die()` checks to the top of the methods for optimization.
Why not save a few cycles..
Merge pull request #2608 from ryun/patch-3

Blog: Moved permission checks for optimization