Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

polish(md): SECURITY_MODEL: forbidden is at authz.rs:282 (#1579)

xerj-org37b5b0873c50
diff --git a/docs/SECURITY_MODEL.md b/docs/SECURITY_MODEL.md
index ee2bacde6..a9a6610c0 100644
--- a/docs/SECURITY_MODEL.md
+++ b/docs/SECURITY_MODEL.md
@@ -68,7 +68,7 @@ index in it, bounded by `limits.max_body_bytes`; a body over that limit is
refused with `413` rather than being authorized unread (`authz.rs:1251-1262`).
A denial at this layer is an ES-shaped `403` with `type: security_exception`
-(`forbidden`, `authz.rs:242`; body shape in `xerj-api/src/error.rs:52`). It is
+(`forbidden`, `authz.rs:282`; body shape in `xerj-api/src/error.rs:52`). It is
returned before any existence check, so `403` versus `404` cannot be used to
enumerate what exists.