apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/FavoriteService.java/FavoriteService/checkUserOperatePermission
class FavoriteService:  private void checkUserOperatePermission(Favorite favorite) {
    if (favorite == null) {
      throw new BadRequestException("favorite not exist");
    }

    if (!Objects.equals(userInfoHolder.getUser().getUserId(), favorite.getUserId())) {
      throw new BadRequestException("can not operate other person's favorite");
    }
  }