feat(api): M8 7.16 server contract — tenant-surface classification + member clearance (CLS-08) #206

Merged
amiryahaya merged 1 commit from feat/m8-716-server-contract into main 2026-11-16 13:16:03 +01:00
Owner

Server contract for the 7.16 client-UX slice (#158, CLS-08):

  • NEW GET /api/tenants/{id}/classification (member-visible): enabled flag + the ladder + the CALLER's own clearance — drives the desktop folder-creation picker (F-CLS1: capped at the creator's clearance) and badge rendering
  • GET /api/tenants/{id}/members (tenant surface) now carries each member's clearance — feeds share-dialog eligibility rendering (F-CLS2)
  • AuthzMatrix row for the new route (Coverage test)

With slices 1–3 (#203–#205) the server contract for 7.16 is complete: file/folder DTOs carry levels, classification state + clearances are member-visible, and the group-share batch endpoint takes per-member keys.

Desktop rendering slice filed as a follow-up (cross-stack: the desktop's file list flows through Rust commands + a local SQLite cache — carrying level through means a Rust struct change + a cache-schema migration on existing installs, which gets its own focused session with migration tests rather than the tail of this one). Suite 1073/0/40 locally; one unrelated transient flake observed once (unique-index collision logging, clean on immediate re-run + CI re-run).

Server contract for the 7.16 client-UX slice (#158, CLS-08): - **NEW `GET /api/tenants/{id}/classification`** (member-visible): enabled flag + the ladder + the CALLER's own clearance — drives the desktop folder-creation picker (F-CLS1: capped at the creator's clearance) and badge rendering - **`GET /api/tenants/{id}/members`** (tenant surface) now carries each member's clearance — feeds share-dialog eligibility rendering (F-CLS2) - AuthzMatrix row for the new route (Coverage test) With slices 1–3 (#203–#205) the server contract for 7.16 is complete: file/folder DTOs carry levels, classification state + clearances are member-visible, and the group-share batch endpoint takes per-member keys. **Desktop rendering slice filed as a follow-up** (cross-stack: the desktop's file list flows through Rust commands + a local SQLite cache — carrying `level` through means a Rust struct change + a cache-schema migration on existing installs, which gets its own focused session with migration tests rather than the tail of this one). Suite 1073/0/40 locally; one unrelated transient flake observed once (unique-index collision logging, clean on immediate re-run + CI re-run).
feat(api): M8 7.16 server contract — tenant-surface classification + member clearance (CLS-08)
All checks were successful
Security CI / security-scan (pull_request) Successful in 2m40s
API CI / migrations (pull_request) Successful in 5m26s
API CI / build-and-test (pull_request) Successful in 16m15s
c5e55842d6
- NEW GET /api/tenants/{id}/classification (member-visible): enabled +
  ladder + the CALLER's own clearance — drives desktop pickers/badges
  (F-CLS1: folder-creation picker capped at the creator's clearance)
- GET /api/tenants/{id}/members (tenant surface) now carries each
  member's clearance — feeds share-dialog eligibility (F-CLS2)
- AuthzMatrix row for the new route (Coverage test)

Server contract for 7.16 is now complete: DTOs carry levels (slice 1),
classification state + clearances are member-visible, group-share batch
endpoint takes per-member keys (slice 2). The desktop rendering slice is
filed as a follow-up (Rust cache-schema cross-stack work — #203-class
discipline: it touches the local SQLite migration path and deserves its
own focused session).
Sign in to join this conversation.
No description provided.