docs: public void chacc(String resourceName, String principalType, String principalName, String permissionString)
      throws CmsException {
  
          m_cms.lockResource(resourceName);
          if (I_CmsPrincipal.PRINCIPAL_GROUP.equalsIgnoreCase(principalType.trim())) {
              principalName = OpenCms.getImportExportManager().translateGroup(principalName);
          } else {
              principalName = OpenCms.getImportExportManager().translateUser(principalName);
          }
          m_cms.chacc(resourceName, principalType, principalName, permissionString);
      }