amal66 puts Mike's access controls under pressure
This fork adds direct testing of the boundaries that should keep one client's legal material out of another's hands.
amal66 has separated the web service from the process that starts it, making it practical to test the service itself without changing how production runs. The result is a fast safety net around the routes handling legal workspaces and documents.
- Tests block unauthenticated requests across core legal-work routes.
- Ownership checks verify that one user cannot reach another user's resources.
- Input and normal-use checks cover chat, projects, tabular work, user settings, uploads and service health.
- Optional live checks exercise Supabase, a hosted database and authentication service, for tenant isolation and database access rules.
The work also identifies two remaining hardening gaps: uploads are checked by filename extension alone, and bulk downloads have no document-count limit.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?