Fix $hasaccess check when no $post_id specified

Return true when no $post_id is specified.