Ship allows_rag entitlement (founders/backer/pro/business), enforce it on
document APIs and RAG chat, harden ingest/delete/active lifecycle, and add
Google/Microsoft Drive connect + sync for personal and company knowledge bases.
Closes#43#44#45#46#47#48#49#50#51#52#53
Parent epic: #42
Related: #11
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Implements epic #42 (children #43–#53) and advances #11.
allows_ragon plans (founders / backer / pro / business; not standard); exposed asfeatures.ragPromptType.RAGuseassert_feature_allowed(..., "rag")document_id, honoractive, fix document detail PATCH/DELETElink_drive/link_company_drive), resource selection, sync, webhooks stubs,sync_drive_connectionsmanagement command.env*.exampleupdatedCompanion FE:
chat_web_appbranchfeature/rag-epic-42-ui(#81–#85).Test plan
SKIP_RAG_INIT=1 uv run python manage.py test(457 OK)0004+ chat_backend0028on betalink_company_drive; non-manager 403manage.py sync_drive_connections