Update class.pagecontroller.php

Allow custom permissions for pages
Merge pull request #4 from R-J/patch-4

Add Custom Permissions for Pages (PR by @R-J) - Update class.pagecontroller.php