open-legal-products puts guardrails around project deletion

Mike now adds a deliberate pause before chat folders disappear and limits project-folder deletion to owners.

securityworkflow

Deleting a folder is easy to regret, particularly when a legal matter contains active chats and shared project material. Mike now asks for confirmation before a chat-explorer folder is removed, helping prevent an accidental click from becoming a cleanup problem.

For project folders, deletion is restricted to the project owner. The protections were retained through later integrations, with shared-project permissions remaining the key area for teams to validate against their own access rules.

So what Legal teams using shared workspaces should care because the change makes routine organisation safer without turning folder management into an IT ticket.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

5 commits from open-legal-products/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
2b4eda30 Confirm destructive folder deletes in chat explorer Lawyered 2026-06-10 ↗ GitHub
15f65f53 Restrict project folder deletion to owners Lawyered 2026-06-27 ↗ GitHub
4d1b792d Merge pull request #193 from lawyered0/codex/restrict-folder-delete Will Chen 2026-07-26 ↗ GitHub
Restrict project folder deletion to owners
54993c21 Merge remote-tracking branch 'origin/main' into fix/confirm-chat-folder-delete willchen96 2026-08-04 ↗ GitHub
# Conflicts:
#	frontend/src/app/(pages)/projects/[id]/assistant/chat/[chatId]/page.tsx
b44cec75 Merge pull request #174 from lawyered0/fix/confirm-chat-folder-delete Will Chen 2026-08-04 ↗ GitHub
Confirm destructive folder deletes in chat explorer

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-1985.md from inside the repo you want the changes in.

⬇ Download capture-thread-1985.md