anchor.diff:  <%  int documentId = 1001;
       ContentManagementSystem imcmsSystem = (ContentManagementSystem)request.getAttribute( RequestConstants.SYSTEM );
       DocumentService documentService = imcmsSystem.getDocumentService();
  -    Document doc = documentService.getTextDocument(documentId);
  +    Document document = documentService.getTextDocument(documentId);
   %>
   <p>
   Every document has a mapping of permissions to roles.<br>
  
positive.code: <p>
  This is the mapping for document <%= documentId %>:<br>
  <%
      Map permissionsMap = doc.getAllRolesMappedToPermissions();
      Set roles = permissionsMap.keySet();
      Iterator roleIterator = roles.iterator();
      %><ul><%
  
negative.code: %>
  </p>
  <p>
  <% if (imcmsSystem.getCurrentUser().canEdit( document )) { %>
      You have the following permissions for document <%= documentId %>: "<%= document.getDocumentPermissionSetForUser() %>"
  <% } else { %>
      You have no permissions for document <%= documentId %>.
  <% } %>
  </p>
  <p>
  Notice: Only the roles that has some permissions is shown above. If a role has permission "None" then
  