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: update classify/percent_decode line refs (#1540)

xerj-org60cdfe99dccc
diff --git a/docs/SECURITY_MODEL.md b/docs/SECURITY_MODEL.md
index 361f36caf..85cfddd5f 100644
--- a/docs/SECURITY_MODEL.md
+++ b/docs/SECURITY_MODEL.md
@@ -36,9 +36,9 @@ caller to a `Principal`, and this layer decides what that principal may reach.
It does four things:
-1. Classifies the path (`classify`, `authz.rs:444`) into a brain, a memory
+1. Classifies the path (`classify`, `authz.rs:497`) into a brain, a memory
namespace, one or more index expressions, a cluster endpoint, or exempt.
- Path segments are percent-decoded first (`percent_decode`, `authz.rs:421`),
+ Path segments are percent-decoded first (`percent_decode`, `authz.rs:474`),
so `%2Exerj-memory-alice` cannot slip past a check that
`.xerj-memory-alice` would fail.
2. Works out the privilege the request needs (`required_privilege`,