AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
polish(md): SECURITY_MODEL: authz_middleware is at authz.rs:1300 (#1538)
xerj-org8afbdffa79c6
diff --git a/docs/SECURITY_MODEL.md b/docs/SECURITY_MODEL.mdindex 19ba86790..361f36caf 100644--- a/docs/SECURITY_MODEL.md+++ b/docs/SECURITY_MODEL.md@@ -29,7 +29,7 @@ reasons.### Layer 1: the authz middleware-`authz_middleware` (`xerj-api/src/authz.rs:1224`) runs on both HTTP routers. It+`authz_middleware` (`xerj-api/src/authz.rs:1300`) runs on both HTTP routers. Itis added to the router before `auth_middleware`, so it runs after it(`xerj-api/src/router.rs:786-789`): authentication has already resolved thecaller to a `Principal`, and this layer decides what that principal may reach.