Test access to post revisions

And throw an error if user doesn't have access to a post's revisions #251