Skip to content

Combine offline casework and account protections with optional local project teams - #17

Merged
mantisfury merged 63 commits into
mainfrom
fix/local-and-project-teams
Dec 2, 2026
Merged

mantisfury merged 63 commits into
mainfrom
fix/local-and-project-teams

Conversation

@mantisfury

@mantisfury mantisfury commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

This combined candidate brings together the local casework and security changes and the project teams pilot. Both original drafts are closed. Integration commit 982eab4 preserves the last commit of each as a parent.

Default local installation

The supported default is one trusted investigator on one computer. The app keeps the local browser relay, offline file processing, server-side revocation, inactivity lock, owner restrictions, case recovery, and the image review and manual release process. An upgrade alone never activates sharing.

Optional project teams on the same computer

  • Only the owner of an eligible installation can activate sharing. Activation requires the current password and explicit confirmation. It is permanent in the app. Existing secondary accounts must sign in again. They lose access to the former organization-wide features and use the limited team workspace.
  • All administrators see every active project, including future projects. Administrators assign analysts and designate one supervisor per viewer. Analysts may delegate only their own assigned cases to viewers they supervise.
  • Viewers can read and search project text and read notes. They cannot upload, edit, or grant access. Other team members can submit small text files and edit their own notes. The owner keeps full casework and original-file access.
  • Team uploads stay in organization storage. Local indexing retries retain the original document and skip AI enrichment. Both modes use 12-character minimums for new passwords and the same session rules.

Release limits

Remote access and shared production hosting remain unsupported. No fresh Daybreak scan or independent security certification covers the combined release. The local team workspace is a pilot. Review administrator rights and verify a backup before activation.

Account and project rules · Known limitations · Regression coverage

Verification on 982eab4

GitHub release checks and the local Linux Docker rehearsal passed. Each ran 2,916 backend tests across 27 packages with no failures, errors or skips. The browser checks used separate owner, administrator, analyst and viewer sign-ins. The 2.2.0 upgrade and team restore checked project rights, revocation, eight notes and two original file checksums.

Local rehearsals also upgraded populated installations from both original drafts, using the same PostgreSQL 15 image. On the #15 installation, sharing stayed off. On the activated #16 installation, grants and passwords were retained, previous sign-ins were rejected, and revoked permissions stayed revoked after restart. A separate four-account browser run used the standard local relay with provider access off. All fixtures were synthetic.

Package and advisory matches were unchanged from #15 at 06c7c53. The app has 2 Critical and 132 High matches. The database has 5 Critical and 106 High. The 7 Critical matches represent 3 advisory IDs. No vendor fix was listed for a Critical or High match. The known Poppler signer check also failed identically with Debian's library. Verify signed PDFs independently.

Follow-up on a1d3ebf

Following Lorenzo Pisu's report, the active Templates feature and the inactive frame service share an immutable sandbox. Explicit private attributes are rejected before saving. Activation, version creation and restoration check the source too. Runtime checks still apply. Existing records are preserved. Write item['_label'] for a JSON key beginning with an underscore.

Private GitHub reporting is enabled. The startup guide explains how to install the matching application and database pair. Full checks on the revised PR.

@mantisfury
mantisfury marked this pull request as ready for review December 2, 2026 14:04
@mantisfury
mantisfury merged commit 96ba02c into main Dec 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant