Personal Drive/RAG without a company (#55) #56

Merged
westfarn merged 2 commits from fix/drive-connection-null-company-id into master 2026-08-02 03:44:42 -07:00
2 Commits
Author SHA1 Message Date
westfarn 0d6bf2b024 Support personal Drive/RAG without a company (#55).
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 10s
Personal Drive connections and document workspaces are user-owned and
no longer require company_id. Company Drive still requires a company
manager. Chat/document scope falls back to a personal workspace for
solo users instead of rejecting with company_missing.
2026-08-02 05:40:53 -05:00
westfarn 311e19abe6 Reject Drive link when user has no company (#55).
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 11s
Avoid NotNullViolation on DriveConnection.company_id by returning a
no_company OAuth error before token exchange / upsert.
2026-08-02 05:35:28 -05:00