[Integration]: NeedToKnow — permission-aware retrieval (AccessFilter)
メンテナーはふだん 13 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 54/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Start with the published needtoknow-haystack repository and its AccessFilter component; the issue also names examples/leak_benchmark.py and the unit and pipeline tests. Check how the component filters documents by user, groups, and public metadata, then run the tests and benchmark. Done means the integration is listed with its repository, description, and evidence of working behavior.
索引モデルが issue の本文から書いたものです。
説明
Stage
Ready: integration exists and works, proposing to list it
Integration or project name
needtoknow-haystack
Integration type
Custom Component
Published package or repo (if it exists)
https://github.com/Sanoer11/needtoknow-haystack
Need or proof of use
Why Haystack users need it: most RAG pipelines retrieve from one shared index, and retrieval ranks by relevance, not by who is asking. Whatever the retriever returns reaches the prompt, so one user can get another team's restricted documents. LangChain (Permit, Auth0 FGA retrievers) and LlamaIndex (Auth0 FGA) have permission-aware retrieval; I couldn't find a store-agnostic equivalent among the listed Haystack integrations.
Proof it works:
- Leak benchmark (examples/leak_benchmark.py, offline, synthetic company corpus, 5 users x 10 probing queries, BM25 top-5): 58% of retrieved documents leaked across departments without the filter, 0% with AccessFilter.
- 22 unit and pipeline tests, including YAML pipeline serialization round-trips.
- CI on every push: Python 3.10 and 3.13 x Haystack 2.31 and 3.x (all green).
It grew out of NeedToKnow (https://github.com/Sanoer11/needtoknow), my permission-aware RAG project, where the same per-user filtering took cross-user leakage from 43.2% to 0% on 250 adversarial probe results. It doesn't have external users yet; I'm happy to publish it to PyPI if that's preferred before listing.
Short description
AccessFilter is a component that sits after any Haystack retriever and removes documents the requesting user may not read. Each document declares access in its metadata (allowed_users, allowed_groups, or an optional public flag), and the filter keeps a document only if the user, one of their groups, or the public flag matches.
It fails closed: documents without access metadata are denied by default, and an empty user_id raises an error. It works with any document store, returns denied_count for auditing, supports top_k after filtering, and serializes with pipelines (in Haystack 3, via allowed_modules=["needtoknow_haystack"]).
- 主要言語
- Python
- スター
- 114
- フォーク
- 324
- 平均マージ
- 7日 2時間
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
deepset-ai/haystack-integrations のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
deepset-ai/haystack-integrations#788 ·
メンテナーはふだん 13 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
deepset-ai/haystack-integrations#785 ·
メンテナーはふだん 13 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
deepset-ai/haystack-integrations#783 ·
メンテナーはふだん 13 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
deepset-ai/haystack-integrations#782 ·
メンテナーはふだん 13 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
deepset-ai/haystack-integrations#780 ·
メンテナーはふだん 13 日以内に返信
deepset-ai/haystack-integrations の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
micronaut-projects/micronaut-core#14585 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
langgenius/graphon#443 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
[BUG]: Management endpoints /v1/memory/stats and /v1/memory/counts bypass API key authenticationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
docling-project/docling-serve#788 ·
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
opensearch-project/cross-cluster-replication#1805 ·
メンテナーはふだん 1 日以内に返信