/**
   * 커뮤니티, 동호회에 사용되는 게시판 사용정보를 수정한다.
   *
   * @param bdUseVO
   * @param boardUseInf
   * @param status
   * @param model
   * @return
   * @throws Exception
   */
  @RequestMapping("/cop/com/updateBBSUseInfByTrget.do")
  public String updateBBSUseInfByTrget(
      @ModelAttribute("searchVO") BoardUseInfVO bdUseVO,
      @ModelAttribute("boardUseInf") BoardUseInf boardUseInf,
      @RequestParam Map<String, Object> commandMap,
      SessionStatus status,
      ModelMap model)
      throws Exception {

    checkAuthority(bdUseVO); // server-side 권한 확인

    String param_trgetId = (String) commandMap.get("param_trgetId");

    // LoginVO user = (LoginVO)EgovUserDetailsHelper.getAuthenticatedUser();
    Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();

    if (isAuthenticated) {
      boardUseInf.setTrgetId(param_trgetId);
      bbsUseService.updateBBSUseInfByTrget(boardUseInf);
    }

    return "forward:/cop/com/selectCmyBBSUseInfsByTrget.do";
  }