Fix pages controller permissions