code: private StringBuffer buildInheritedList(ArrayList<CmsAccessControlEntry> entries, Map<CmsUUID, String> parents) {
  
          StringBuffer result = new StringBuffer(32);
          String view = getSettings().getPermissionDetailView();
  
          // display the long view
          if ("long".equals(view)) {
              Iterator<CmsAccessControlEntry> i = entries.iterator();
              while (i.hasNext()) {
                  CmsAccessControlEntry curEntry = i.next();
                  // build the list with enabled extended view and resource name
                  result.append(buildPermissionEntryForm(curEntry, false, true, getConnectedResource(curEntry, parents)));
              }
          } else {
              // show the short view, use an ACL to build the list
              try {
                  // get the inherited ACL of the parent folder
                  CmsAccessControlList acList = getCms().getAccessControlList(
                      CmsResource.getParentFolder(getParamResource()),
                      false);
                  Iterator<CmsUUID> i = acList.getPrincipals().iterator();
                  while (i.hasNext()) {
                      CmsUUID principalId = i.next();
                      if (!principalId.equals(CmsAccessControlEntry.PRINCIPAL_OVERWRITE_ALL_ID)) {
                          CmsPermissionSet permissions = acList.getPermissions(principalId);
                          // build the list with enabled extended view only
                          result.append(buildPermissionEntryForm(principalId, permissions, false, true));
                      }
                  }
              } catch (CmsException e) {
                  // can usually be ignored
                  if (LOG.isInfoEnabled()) {
                      LOG.info(e.getLocalizedMessage());
                  }
              }
          }
          return result;
      }
docs: Builds a StringBuffer with HTML code to show a list of all inherited access control entries.<p>
  
  @param entries ArrayList with all entries to show for the long view
  @param parents Map of parent resources needed to get the connected resources for the detailed view
  @return StringBuffer with HTML code for all entries