Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java =================================================================== diff -u -rac12c171d18673d283c3304f1333ebb00e3819d0 -r3323ab59f880fd09b8752ed7eeccf213d8f1e01f --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java (.../AuthoringAction.java) (revision ac12c171d18673d283c3304f1333ebb00e3819d0) +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java (.../AuthoringAction.java) (revision 3323ab59f880fd09b8752ed7eeccf213d8f1e01f) @@ -595,17 +595,6 @@ List rList = new ArrayList(topics); MessageDTO topic = rList.get(topicIdx); if (topic != null) { - // check whehter the edit topic and the current user are same person, if not, forbidden to edit topic - if (topic.getMessage() != null && topic.getMessage().getCreatedBy() != null) { - // get login user (author) - HttpSession ss = SessionManager.getSession(); - // get back login user DTO - UserDTO user = (UserDTO) ss.getAttribute(AttributeNames.USER); - Long topicAuthorId = topic.getMessage().getCreatedBy().getUserId(); - if (!new Long(user.getUserID().intValue()).equals(topicAuthorId)) { - return mapping.findForward("forbiden"); - } - } // update message to HTML Form to echo back to web page: for subject, body display msgForm.setMessage(topic.getMessage()); }