All projects
Project 08Knowledge Systems & Legal Services

Fennemore

Knowledge retrieval that follows the permission boundary.

fennemorelaw.com
Fennemore public website homepage
Public website preview

01Overview

Project overview

Business law and legal services

I developed a permission-aware knowledge workspace for searching approved precedents, internal guidance, and matter documents. I built the services with Python, FastAPI, PostgreSQL, vector search, and Microsoft Graph.

My contribution

Knowledge-search services, permission-aware retrieval, evidence and version tracking, and index lifecycle management.

02Key capabilities

What I built

01

Authorization at both access points

I enforced access before retrieval and rechecked authorization when users opened source material.

02

Grounded answers & insufficient evidence

Answers included supporting passages and document versions, with explicit handling of insufficient evidence.

03

Index lifecycle & permission changes

I implemented deletion propagation and permission updates so stale indexes could not preserve unauthorized visibility.

03Technical approach

System design & technology

System design

Permission-aware retrieval & source lifecycle

Scroll horizontally to explore the architecture.

KNOWLEDGE REQUESTRETRIEVAL SERVICESCONTENT & INDEXQueryRetrieveLifecycleSearch workspaceApproved guidance & mattersPython / FastAPIAuthorize before retrievalPostgreSQL / vectorsPassages & document versionsMicrosoft GraphPermission updates & deletionsSource accessAuthorization checked againMicrosoft Graph · Deletion propagation · Permission updates
Logical architecture based on the supplied project summary. Solid arrows connect the main application boundaries; dashed arrows show supporting responsibilities and handoffs.

Design considerations

Access before relevance
Authorization is enforced before retrieval, then checked again when opening the source. Search relevance does not override access.
Indexes are not authority
Permission changes and deletions propagate into retrieval so a stale index cannot preserve unauthorized visibility.

Main stack

  • PythonPython
  • FastAPI
  • PostgreSQLPostgreSQL
  • Vector search
  • Microsoft Graph

04Delivery & outcomes

What changed for the team

Attorneys gained a faster way to locate relevant material while keeping legal judgment and final drafting decisions with the responsible professionals.

05Get in touch

Have a similar project in mind?

Ask about Fennemore or tell me what you’re building. Share your goals, scope, and where you need engineering support.

mattgarner0819@gmail.com