anchor.diff:  <%@ page import="org.sakaiproject.tool.assessment.facade.AuthzQueriesFacadeAPI" %>
   <%@ page import="org.sakaiproject.tool.assessment.services.PersistenceService" %>
   <%@ page import="org.sakaiproject.tool.cover.ToolManager" %>
  +<%@ page import="org.sakaiproject.site.api.Site" %>
  +<%@ page import="org.sakaiproject.site.api.ToolConfiguration" %>
  +<%@ page import="org.sakaiproject.site.cover.SiteService" %>
   <%@ page import="javax.faces.context.FacesContext" %>
   
   <%
  
positive.code:                 "assessmentBean", request, response);
           assessmentBean.setAssessmentId(publishedAssessmentId);
  
           AuthorizationBean authzBean = (AuthorizationBean) ContextUtil.lookupBeanFromExternalServlet(
                                                                           "authorization", request, response);
           if (authzBean.getAuthzMap().size()==0){
             authzBean.addAllPrivilege("45d48248-ba23-4829-914a-7219c3ced2dd");
           }
  
  	 // context for main assessment list, in case they cancel out of the specific action
  
negative.code:          if (ContextUtil.lookupParam("settings") != null) {
              EditPublishedSettingsListener editPublishedSettingsListener = new EditPublishedSettingsListener();
              editPublishedSettingsListener.processAction(null);
              response.sendRedirect("/portal/tool/" + tool.getId() + "/jsf/author/publishedSettings");
           } else {
              ConfirmEditPublishedAssessmentListener confirmEditPublishedAssessmentListener = new ConfirmEditPublishedAssessmentListener();
              confirmEditPublishedAssessmentListener.processAction(null);
              response.sendRedirect("/portal/tool/" + tool.getId() + "/jsf/author/confirmEditPublishedAssessment");
           }
  
  %>
  
  