if ( isset($content_struct['wp_author_id']) && ($user->ID != $content_struct['wp_author_id']) ) {
            switch ( $post_type ) {
                case 'post':
                    if ( !current_user_can('edit_others_posts') )
                        return(new IXR_Error(401, __('You are not allowed to change the post author as this user.')));