Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Apr 22:13
· 356 commits to main since this release
Immutable release. Only release title and notes can be modified.
v1.4.0
98df57a

Phase 3 — Relationship graph view

LDAP Manager now lets you see how users, groups and computers are connected, not just list them.

Open any user, group or computer's drawer and click View relationships — the graph view shows the entity at the centre with concentric rings of related entities radiating outward. Direct memberships sit on ring 1, transitive relationships on rings 2 and 3. Hover or focus a node to highlight every edge it touches; click the + badge on a group to fetch and merge another hop's worth of relationships into the visible graph; click − to roll a sub-tree back up.

The layout is weighted: nodes with more connections appear visibly larger, and children of the same parent share an arc on their ring so clusters of related entities form spokes radiating outward from the focus instead of being shuffled alphabetically.

The page works without JavaScript — the SVG is server-rendered and a flat AAA-equivalent edge table is always present below the canvas. With JavaScript on, the SVG gains pan (mouse drag, arrow keys) and cursor-anchored zoom (Ctrl/Meta + wheel). Keyboard contract: Tab cycles nodes, Enter pivots to the entity's detail page, +/− expand and collapse.

A new GET /api/graph.json?entity=<dn>&depth=<N> endpoint returns the same data as JSON with sha256 ETag and 304 Not Modified support — useful for external integrations and what powers the dynamic expand action.

List | Table | Graph view selection

Every list page (/users, /groups, /computers) now offers a segmented toggle between three views, and your choice sticks across pages and sessions via a 30-day cookie:

  • List — the existing detail-drawer view with filter chips and OU rail.
  • Table (new) — full-width scannable table without the filter rail or drawer. Optimised for browsing many rows at once. Includes a live search input and sortable column headers (server-side, URL-captured so back/forward and bookmarks work).
  • Graph — the same relationship graph view, but rendered for the filtered list (groups for users-on-the-page, members for groups-on-the-page, etc.).

Active filters (?ou=, ?memberOf=, ?show-disabled=, …) are preserved across view switches, so picking Table on a filtered /users view keeps you on the same subset.

Bug fixes

  • AD computer accounts no longer appear in the users list. Active Directory's objectClass=user filter matches computer accounts (computers inherit from user in the AD schema), and simple-ldap-go's broad query was leaking machine accounts into /users. Fixed at the cache layer so the users page on AD-backed deployments now shows only real users.

Accessibility

  • The graph view targets WCAG 2.2 Level AA. The flat edge table below the canvas provides an AAA-equivalent text alternative for every interaction and relationship the visual canvas displays.
  • All graph colour tokens are AAA-verified by the existing internal/web/contrast_test.go. The new graph pages are also covered by an axe-core ratchet that runs on every CI build.
  • No keyboard trap (Tab leaves the graph naturally to the next page element). Aria-live region announces expand/collapse.
  • Dark/console mode (the dark theme also switches the body to a monospace font) was thoroughly polished — node disc colours, table headers, segmented toggle hover states, native depth slider, and SVG text labels all honour the theme.

Internal

Phase 3 was driven by the design spec at docs/superpowers/specs/2026-04-24-phase-3-graph-view-design.md and the implementation plan at docs/superpowers/plans/2026-04-24-phase-3-graph-view.md — six slices, each merged independently:

PR Slice
#581 In-memory graph builder
#582 /api/graph.json JSON endpoint
#584 SSR HTML page
#585 Interactive JS layer
#586 List-page Graph mode
#587 Drawer pivot + axe-core ratchet + README
#588 Polish — Table view, persistent selection, weighting, dark-mode, AD computer-exclusion
#589 Table search + sortable headers

All commits are atomic, signed, DCO-compliant.

Known issue

Per-platform binary downloads (linux-amd64, linux-arm64, darwin-arm64, windows-amd64, etc.) are missing from this release — the upstream netresearch/.github reusable release workflow publishes the GitHub Release before the binary build matrix has a chance to attach assets, and GitHub's recent immutable-release enforcement then blocks the uploads. The release marker, source archives, and attestation are present; the container image at ghcr.io/netresearch/ldap-manager:main reflects this exact code via the separate container.yml workflow that runs on every push to main. A fix to the reusable workflow is in flight; v1.4.1+ will ship the per-platform binaries.