Building-block guide · Data and knowledge

Permission-aware retrieval and residency

How to make sure an agent only retrieves what the person it acts for may see, in the regions it is allowed to use, and how to prove it: ACL propagation, early and late filtering, delegated retrieval, relationship-based and policy-based authorisation, tenant isolation, erasure across indexes and embeddings, and audit evidence.

Draft for review · researched 30 Nov 2026

Contents
  1. At a glance
  2. Scope and where it sits
  3. When to use what
  4. Decision criteria
  5. Reference patterns
  6. Recommended defaults
  7. Anti-patterns
  8. Sizing and cost notes
  9. Security and compliance hooks
  10. Test and eval checklist
  11. Related plan sections and inventory
  12. Unverified or needs review
  13. Sources

At a glance

  • Retrieve as the user, never as the agent. The retrieval call carries a delegated token for the user (subject) with the agent as actor (plan 10A); the agent's service identity alone must never widen what comes back.
  • Carry ACLs onto every chunk and filter before the model sees anything. Use a coarse pre-filter in the vector store, then an authoritative check on the final candidates. Vendors are explicit that index-side ACL filtering is "not a security boundary" on its own [3].
  • Set and monitor a maximum revocation lag per risk tier. Synced permissions are only as fresh as the last sync; one major service describes its ACL refresh as "roughly daily" with no corpus-wide freshness SLA [1].
  • Choose filtering strategy by the size of the user's accessible set. Small sets suit lookup-then-search; large sets suit search-then-check with 2 to 3 times overfetch [5][6][7].
  • Pick a tenancy tier by risk. Metadata filter for low-risk internal, namespace or shard per tenant for most customer data, index or account per tenant for regulated or contractual separation [4][9][10].
  • Pin residency explicitly in every layer. Some platforms now default new organisations to cross-region processing "anywhere" [21].
  • Design erasure across the whole retrieval path. Source, chunks, embeddings, caches, traces and backups, with compaction and legal hold handled and the deletion verified [15][20].
  • Fail closed and log every decision. An unavailable policy service or a missing ACL means no result, and the decision log is the audit evidence.

Scope and where it sits

This guide covers who may retrieve what through an agent, and where that data may be processed.

In the 10-layer reference architecture (plan section 4) the permission data lives in layer 7, memory and knowledge (ACL metadata on chunks), enforcement runs in layer 8, tools and integration (the retrieval tool behind the gateway) and layer 9, security and policy (identity, Cedar or ReBAC decisions), and decisions are evidenced in layer 10, observability.

In the Anatomy of an AI Agent crosswalk this is The library (knowledge-base integrity) and Guardianship (identity, authorisation and data protection).

It applies plan 10A Agent identity layer and 10B Authorization with Cedar policy grants to retrieval. Covered elsewhere: getting ACLs out of source systems in Data integration and Document ingestion and parsing; index technology in Vector stores and hybrid retrieval; cache scoping in Caching; erasure in long-term memory in Agent memory; output-side PII controls in Guardrails; decision logging in Observability.

When to use what

Option Use when Avoid when Cost and latency notes
Early filtering (pre-filter): ACL principals stored as chunk metadata, query filtered by the user's groups Group-based ACLs from a few sources; the user's group list is short Fine-grained or rapidly changing permissions; long principal lists Cheapest at query time; filter list sizes are capped in some stores (for example 10,000 values for $in in Pinecone [9]); freshness depends on sync
Late filtering (post-filter): search, then check each candidate with the authorisation service Users can see most of the corpus; permissions change often; an authoritative live check is required Users see a small fraction, so most candidates are dropped One batch check per query; overfetch 2 to 3 times is the common choice [6]
Lookup then search: list the accessible object IDs, then search within them User can access relatively few objects (about 1,000 in OpenFGA guidance; under 10,000 in a SpiceDB example) [5][7] Accessible sets in the tens of thousands Extra round trip; list calls are paginated [5]
Hybrid: coarse pre-filter (tenant, sensitivity, groups) then authoritative check on the final set Default for enterprise knowledge agents Very simple single-tenant, low-risk corpora Combines low cost with live correctness for the last step
Materialised permission index (for example a local copy fed by a change stream, or a permission materialisation service) Large accessible sets at low percentages; high query volume [5][7] Small teams without capacity to run it Adds a pipeline and its own freshness lag
Managed ACL-aware connectors (for example Azure AI Search document-level access, Bedrock knowledge base managed ACLs) The platform supports your sources and you accept its freshness model [1][3] Sources or identity mappings it does not support; revocation must be near real time Low build effort; check preview versus GA per source [1]
Namespace or shard per tenant Multi-tenant SaaS or many business units with separate data Thousands of tiny tenants on a plan with low namespace limits Pinecone bills reads by namespace size, so per-tenant namespaces cut cost [9]; Weaviate can offload inactive tenants [10]
Index, account or project per tenant Regulated, contractual or residency-driven separation Many small tenants with low risk Highest operating cost; cleanest erasure and residency story [4]
Engine row or document-level security (for example Elasticsearch DLS, warehouse row access policies) Retrieval runs in an engine that enforces it natively for the user's role Agent uses a shared service account Watch aggregation and scoring leaks [11]

Decision criteria

  1. Whose permissions apply? Always the user's for user-facing agents. Autonomous agents with no user need their own narrowly scoped grants under plan 10B, and their outputs must not later be shown to users with less access.
  2. What fraction of the corpus can a typical user see? Most of it points to post-filter with overfetch; a small fraction points to lookup-then-search or a materialised permission index [5][6][7].
  3. How fast must revocation take effect? Within the sync interval points to synced ACLs; within minutes or immediately points to a live authoritative check at query time.
  4. Are permissions role or group based, or relationship based? Groups from a directory fit metadata filters. Inheritance through folders, projects, teams and sharing links fits ReBAC (OpenFGA, SpiceDB) or Cedar with entity data.
  5. What separation does the contract or regulator require between tenants? Logical isolation inside one index may be fine for internal business units; the AWS reference architecture recommends a knowledge base per tenant where cross-tenant or compliance separation is needed [4].
  6. Where may each data set be processed and stored? Residency rules decide region per index, per model endpoint and per cache, and whether cross-region inference is allowed at all.
  7. Can every copy be erased and evidenced? If a store cannot delete by document or tenant in a known time, or keeps deleted data until compaction or garbage collection, it needs a documented erasure procedure before personal data goes in.
  8. What does the audit need to show? Who asked, as whom, which policy version decided, and what was returned or filtered out.

Reference patterns

1. ACL propagation pipeline

Problem. Source permissions (folder inheritance, sharing links, groups, labels) never reach the index unless the pipeline carries them.

How it works.

  1. Extract principals (users, groups, roles) and deny entries with each document; resolve nested groups or record them for runtime expansion.
  2. Normalise identities to the directory used at query time. Mismatches fail silently: Bedrock's managed ACLs, for example, need the email to match exactly, with no alias mapping [3].
  3. Stamp every chunk with the document's principals, sensitivity label, tenant and source version. Azure AI Search requires permission metadata on every chunk for the filter to work [1].
  4. Sync permissions separately from content, on a faster schedule, because a sharing change does not change the document. Track the sync timestamp per source.
  5. Propagate deletes with tombstones or soft-delete flags so removed documents leave the index [23].
  6. Restrict who can write permission metadata. Authorisation is only as trustworthy as whoever can write it (plan 4A).
  7. Clean up oversharing before launch. Microsoft notes that Copilot respects existing permissions, so overshared content can surface to anyone who has access [22].

When to use. Every index that holds anything other than public content.

Pitfalls. Permissions captured only at first ingest; group membership snapshots that go stale ("group memberships are as fresh as the last sync" [3]); deny entries dropped during normalisation; chunks created after the ACL step without metadata.

2. Two-stage filter (early then late)

Problem. Pre-filtering alone trusts a possibly stale snapshot; post-filtering alone wastes retrieval on documents the user cannot see and can return too few results.

How it works. Stage one narrows cheaply inside the store: tenant, sensitivity ceiling for the agent's tier, and the user's groups where the list is short. Stage two calls the authoritative service on the final candidates, after retrieval and before anything reaches the model, which is where OpenFGA places the check for RAG [6]. Overfetch by 2 to 3 times to keep enough results after filtering [6]. With SpiceDB, use a bulk permission check and the same consistency token across calls [7].

query + delegated token
  -> gateway validates token (subject = user, actor = agent)
  -> retrieval tool: filter = tenant AND label <= tier_ceiling AND groups IN user_groups
  -> vector or hybrid search, top_k = k x 3
  -> batch check (user, can_view, doc_id) against ReBAC or Cedar  (fail closed)
  -> keep first k allowed, log allowed and denied ids with policy version
  -> reranker and prompt assembly

When to use. The default for enterprise knowledge agents.

Pitfalls. Letting the reranker or summariser see denied chunks; counting denied documents in "N results found" messages; aggregations or facets computed over unfiltered sets (Elasticsearch warns that aggregations can leak terms and counts from documents a user cannot see [11]).

3. On-behalf-of retrieval

Problem. Agents often call search with their own service credentials, so every user effectively gets the agent's access.

How it works. The user's token is exchanged for a narrower, audience-bound token that names the user as subject and the agent as actor (OAuth 2.0 Token Exchange, RFC 8693, with the act claim) [14]; plan 10A controls ID-3 and ID-4 forbid token passthrough and require scope to narrow at every hop. The retrieval service evaluates permissions for the subject. Platforms are adding this natively: Azure AI Search accepts the user's Entra token in the x-ms-query-source-authorization header and trims results to that user [1], and Microsoft Entra Agent ID documents an on-behalf-of flow in which the agent identity performs the exchange [13]. For sensitivity labels, Azure's preview requires the label rights to be present, works only within the same Entra tenant (no guests or cross-tenant queries) and fails the whole request rather than returning partial results on error [2].

When to use. Every user-facing agent that reads non-public data.

Pitfalls. Delegated tokens cached in agent memory; background jobs reusing a user token after the session; falling back to the agent's own identity when the user token fails.

4. ReBAC for documents, Cedar for agent grants

Problem. Document access often follows relationships (member of team, which owns folder, which contains file), while what an agent may do is a policy question (this agent class may use this retrieval tool, for this purpose, in this region).

How it works. Use two layers.

  • Document layer. Model relationships in a ReBAC system (for example OpenFGA or SpiceDB, both open source with commercial offerings) fed from source system events. Choose the query shape by accessible-set size: search then batch check when users see a high percentage; list objects then search when they see about 1,000 or fewer at a low percentage; a local index built from the change feed plus a final check when they see tens of thousands at a low percentage [5]. SpiceDB gives the same split (lookup resources for small sets, bulk checks for large ones) and offers a materialisation service for the greatest scale [7]. Pinecone's write-up of the pattern makes the same pre-filter versus post-filter choice [8].
  • Agent layer. Cedar policies at the gateway decide whether this agent, acting for this user, may call the retrieval tool on this index with this purpose and region (plan 10B, default deny, forbid wins). The AWS reference architecture uses Cedar in Amazon Verified Permissions twice: as an API authoriser and to build the metadata filter applied before vector search, denying by default if the policy service is unavailable [4]. Cedar's typed partial evaluation can turn a policy into a residual filter for resources, but it is marked experimental [12].

OPA and Rego remain acceptable where a client has standardised on them (plan 10B).

When to use. Content with inherited sharing, and agent classes that need grants as code.

Pitfalls. Writing relationships with expensive intersection or exclusion operators everywhere (OpenFGA notes these cost more [5]); ReBAC and source drifting apart because only initial loads were synced; Cedar policies duplicated in prompts.

5. Tenancy isolation tiers

Problem. One index for all tenants with a tenant_id filter is cheap but one missing filter leaks everything.

How it works. Choose a tier per data class and record it in the agent registry.

Tier Mechanism Isolation Erasure and residency Example products
T1 Logical Mandatory tenant filter injected by the retrieval service, never by the model Depends on code correctness Delete by filter; residency shared Any store with metadata filters; engine DLS [11]
T2 Partitioned Namespace, shard or partition per tenant Pinecone describes namespaces as physical isolation [9]; Weaviate states data in one tenant is not visible to another [10] Delete namespace or tenant in one call [9][10]; region shared per index Pinecone namespaces, Weaviate tenants, Milvus partitions or collections
T3 Dedicated Index, collection, account or project per tenant Strongest; separate keys and quotas Delete the resource; region per tenant Knowledge base per tenant [4]; per-tenant indexes in any store

When to use. T2 is the practitioner default for customer data; T3 for regulated, contractual or residency-specific tenants.

Pitfalls. Letting the model supply the tenant ID; shared caches or rerankers that cross tenants (see Caching); plan limits on namespaces (from 100 on Pinecone's starter tier to 1,000,000 on enterprise [9]); offloaded tenants excluded from backups without anyone noticing [10].

6. Residency and erasure across the retrieval path

Problem. Data is copied into chunks, embeddings, caches, traces, evaluation sets and backups, often in different regions, and a source deletion reaches none of them by itself.

How it works.

  1. Pin regions per layer. Index, embedding endpoint, model endpoint, cache and trace store each have an explicit region. Snowflake Cortex, for example, has a CORTEX_ENABLED_CROSS_REGION setting and new organisations created after 9 March 2026 default to ANY_REGION; Snowflake states that customer data is not persisted in the processing region [21]. Decide per ROE (to be defined, plan section 12) whether transient processing elsewhere is acceptable, and enforce endpoint choice in the gateway (plan 10C, NET-7).
  2. Keep a lineage map from source record to chunk IDs, vector IDs, cache keys and trace IDs so erasure can be targeted.
  3. Propagate erasure on source deletion or a rights request: delete chunks and vectors by document ID, purge caches by key or tag, redact or expire traces, and remove items from evaluation sets. GDPR Article 17 requires erasure "without undue delay" where a ground applies, with exceptions including legal claims [15]; controllers must also tell recipients unless that is impossible or involves disproportionate effort [16].
  4. Handle physical deletion. Many stores delete logically first. Milvus documents that compaction removes logically deleted data and that space "might not be freed instantly", with object storage keeping data for a period after a collection is dropped [20]. Know your store's compaction and garbage collection timing and schedule it.
  5. Respect legal hold. A hold suspends deletion for the records it covers (plan 13.7); the erasure workflow checks for holds first and records the outcome.
  6. Verify. Re-query by document ID and by a canary phrase; confirm the vector count, the cache and the trace store; record the evidence.

Treat embeddings as personal data. Embedding inversion can recover much of the original text: Vec2Text recovered 92% of 32-token inputs exactly and recovered full names from clinical notes [18]. EDPB Opinion 28/2024 concludes that AI models trained on personal data cannot in all cases be considered anonymous [17]; applying that reasoning to embeddings is an interpretation that needs legal review.

When to use. Any index with personal or residency-bound data.

Pitfalls. Backups and snapshots outside the erasure process; a single global semantic cache; logical-only deletion.

Setting Default Range or options Why
Retrieval identity Delegated user token, user as subject, agent as actor Agent-only grants for autonomous agents with no user Plan 10A; [14]
Filtering strategy Two-stage: coarse pre-filter then authoritative check Pre-filter only for low-risk group ACLs [3][6] plus practitioner default
Overfetch for post-filter 3 times k 2 to 3 times, raise if result counts drop [6]
Switch to lookup-then-search Accessible set at or below about 1,000 objects Up to about 10,000 depending on engine [5][7]
Failure mode Fail closed: no result when the policy service, ACL or token is missing None [3][4]
Max revocation lag, tier 1 (low risk) 24 hours 4 to 48 hours Practitioner default; synced ACLs refresh roughly daily on some platforms [1]
Max revocation lag, tier 2 4 hours 1 to 8 hours Practitioner default
Max revocation lag, tier 3 (high risk) Live check at query time 15 minutes at most if synced Practitioner default
ACL metadata scope Every chunk carries principals, deny entries, label, tenant and source version n/a [1] plus practitioner default
Tenancy tier T2 namespace or shard per tenant for customer data T1 internal low risk; T3 regulated [4][9][10] plus practitioner default
Residency Region pinned per index, model, cache and trace store; cross-region inference disabled unless approved Regional groupings where approved [21]; plan 10C
Erasure target in indexes and caches Removed from query results within 72 hours and physically purged within 30 days Legal deadline set by privacy counsel Practitioner default; Article 17 says without undue delay [15]
Erasure verification Re-query by ID and canary, with evidence stored n/a Practitioner default
Permission metadata writes Pipeline identity only, change logged n/a Plan 4A
Decision logging Log allowed and denied IDs, policy version, subject and actor Hash IDs where IDs are sensitive Plan 10B AZ-6; [19]

Anti-patterns

  • Searching with the agent's service account and trimming in the prompt. Fix: delegated token and enforcement in the retrieval tool, outside the model.
  • Treating the index ACL filter as the security boundary. Fix: authoritative check on the final candidates; AWS itself calls its index filtering not a security boundary [3].
  • Passing thousands of user or document IDs in a filter. Fix: group principals in metadata, or lookup-then-search within limits, or a materialised permission index [9][5].
  • Permissions synced once at ingest. Fix: separate permission sync with a monitored lag per tier.
  • Facets, counts or snippets computed before filtering. Fix: compute them after the authorisation step [11].
  • Model supplies the tenant ID or filter. Fix: the retrieval service injects tenant and ACL filters from the validated token.
  • Shared semantic cache across users or tenants. Fix: partition cache keys by tenant and user (see Caching).
  • Assuming embeddings are anonymous. Fix: classify embeddings like their source and include them in erasure [17][18].
  • Logical delete treated as erasure. Fix: schedule compaction and garbage collection and verify the physical purge [20].
  • Default cross-region settings left unreviewed. Fix: set residency explicitly on each platform and test it [21].

Sizing and cost notes

Query path. A post-filter adds one batch check per query; the overfetch raises vector search and reranking work by about the overfetch factor (for example 3 times the candidates into the check, then k into the reranker). A lookup-then-search adds one paginated list call before search [5]. Illustrative: at 50,000 queries a day, a batch check of 30 candidates is 1.5 million relationship checks a day, so the authorisation service needs capacity planning and caching of results within a consistency window [7].

Permission sync. Cost scales with the rate of permission change, not corpus size; monitor the sync job as a first-class pipeline.

Tenancy. Per-tenant namespaces cut query cost on stores that bill by data scanned: Pinecone bills about 1 read unit per 1 GB of namespace scanned, and metadata filters do not reduce data scanned [9]. Per-tenant indexes raise fixed costs. Weaviate's tenant states let inactive tenants move off hot storage [10].

Erasure. Targeted deletes are cheap; compaction and rebuilding derived artefacts (summaries, graphs, evaluation sets) are not.

Audit logging. Per-query allow and deny logs are high volume; sample denied IDs for low-risk tiers only.

Security and compliance hooks

Threats.

  • OWASP LLM08 vector and embedding weaknesses: unauthorised access, cross-context and cross-tenant leaks, embedding inversion, data poisoning and behaviour alteration. Mitigations named include permission-aware vector stores, logical and access partitioning, data validation and immutable logging [19].
  • OWASP LLM02 sensitive information disclosure: content returned beyond the user's rights, including through summaries and counts.
  • OWASP LLM06 excessive agency and agentic identity and privilege abuse (ASI03): agents using their own broader identity, confused-deputy calls, token reuse.
  • Agentic memory and context poisoning (ASI06): writes into shared indexes that later reach other users.
  • Prompt injection (LLM01) used to widen filters: user text that tries to change the tenant, label or filter; defeated by building filters from the token, not from the prompt.

Controls. Delegated tokens with actor chain (plan 10A, ID-3, ID-4); enforcement outside the loop, default deny, forbid wins, decision logs (plan 10B, AZ-1, AZ-4, AZ-6); shadow-then-enforce for new grants (AZ-5); residency through endpoint choice (plan 10C, NET-7); restricted writes to permission metadata; oversharing review before launch; tenant tier recorded in the registry.

Data protection. Rights handling across memory, indexes, caches and traces (plan 11.8 and section 9); legal hold suspends deletion (plan 13.7); embeddings classified like their source; residency rules and prohibited disclosures expressed as forbid policies tied to the ROE (to be defined, plan section 12).

Audit evidence to keep.

  • Per query: subject, actor chain, agent ID, policy and model versions, filter applied, allowed and denied document IDs, region of each component.
  • Per index: ACL sync timestamps and lag measurements per source, tenancy tier, region.
  • Per erasure: request, lineage lookup, deletions per store, compaction run, verification result, hold check.
  • Per release: permission test results (pattern tests below), oversharing review sign-off.

Governing sections. Plan 4A (permission-aware retrieval and residency), 10, 10A, 10B, 10C, 11 (including 11.8), 13 (risk tiers and 13.7 legal hold), 14 (human review where retrieval drives decisions) and the ROE (to be defined, plan section 12).

Test and eval checklist

ID Stage Check Pass criteria
PAR-01 Design Retrieval identity model documented Every retrieval tool lists the token type, subject, actor and scopes; no service-only access for user-facing agents
PAR-02 Design Permission sources mapped Every source has its ACL model, deny handling, identity mapping and sync method recorded
PAR-03 Design Tenancy tier and residency recorded Registry entry names tier (T1 to T3) and region per index, model, cache and trace store
PAR-04 Design Revocation lag target set per risk tier Target approved and linked to the agent's risk tier
PAR-05 Design Erasure lineage map Source record to chunk, vector, cache and trace IDs can be resolved for a sample
PAR-06 Build ACL metadata on every chunk 100% of chunks carry principals, label, tenant and source version
PAR-07 Build Tenant and ACL filters built from the token Prompt text cannot change the filter; code review and tests confirm
PAR-08 Build Authoritative check before the model No denied chunk reaches reranker, summariser or prompt in trace inspection
PAR-09 Build Fail closed With the policy service, ACL sync or token unavailable, the tool returns no content and logs the failure
PAR-10 Build Permission metadata write access restricted Only the pipeline identity can write ACL fields; changes are logged
PAR-11 Test Two-user differential test Same query as users with different rights returns only each user's permitted documents across a test corpus
PAR-12 Test Revocation test Access removed at source disappears from results within the tier's lag target
PAR-13 Test Cross-tenant leak test Queries, caches and rerankers never return another tenant's content in a seeded test
PAR-14 Test Injection against filters Prompt injection attempts to change tenant, label or scope have no effect
PAR-15 Test Side channels Counts, facets, snippets and "no results" messages reveal nothing about denied documents
PAR-16 Test Guest and external users Behaviour for guests and cross-tenant users matches the documented rule (deny where unsupported)
PAR-17 Test Residency test Calls from each component resolve to approved regions; cross-region settings verified on each platform
PAR-18 Test Erasure end to end After a test erasure, re-query by ID and canary returns nothing in index, cache and traces; physical purge confirmed after compaction
PAR-19 Test Legal hold respected Erasure of a held record is blocked and logged
PAR-20 Test Load on the authorisation path Batch checks meet latency target at peak query rate with overfetch
PAR-21 Release Oversharing review complete Access review and restricted discovery done for in-scope sources, signed off
PAR-22 Release Shadow period for new grants New or widened grants ran in log-only mode for the agreed period with no unexplained allows
PAR-23 Run Revocation lag monitoring Lag per source within target; alerts fire on breach
PAR-24 Run Decision log review Denied-access spikes and unusual allows reviewed; logs reach the SOC
PAR-25 Run Erasure SLA tracking Requests closed within target with evidence; backlog reported monthly

Governing policies and procedures

From the CoE policy set (draft; control IDs on the policy crosswalk):

Unverified or needs review

  • Azure AI Search feature status (GA for security filters, ADLS Gen2 and SharePoint ACLs; preview for Purview labels and OneLake) was read on 30 Nov 2026 and changes often; recheck per source before design sign-off [1][2].
  • Whether Microsoft Entra's agent on-behalf-of flow is generally available was not stated on the page read [13].
  • Bedrock managed ACL support for real-time ACL checks varies by connector and excludes S3 and custom sources per the page read; confirm per connector [3].
  • SpiceDB's materialisation service was described as early access for dedicated users; status may have changed [7].
  • Cedar typed partial evaluation is marked experimental in the source [12].
  • Revocation lag targets, overfetch default of 3 times, the 72-hour and 30-day erasure targets and the tenancy tier default are practitioner defaults; erasure deadlines need privacy counsel review against Article 12 timing, which was not checked.
  • The UK GDPR text was used for Article 17; confirm the EU text and any national variations for each client [15].
  • Applying EDPB Opinion 28/2024 to embeddings is an interpretation, not a stated EDPB position [17].

Sources

  1. Document-level access control in Azure AI Search, Microsoft Learn, https://learn.microsoft.com/en-us/azure/search/search-document-level-access-overview, accessed 30 Nov 2026.
  2. Use sensitivity labels at query time (preview), Azure AI Search, Microsoft Learn, https://learn.microsoft.com/en-us/azure/search/search-query-sensitivity-labels, accessed 30 Nov 2026.
  3. Managed access control lists for knowledge bases, Amazon Bedrock User Guide, AWS, https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-acl.html, accessed 30 Nov 2026.
  4. Secure multi-tenant RAG with Amazon Bedrock and Amazon Verified Permissions (22 Jun 2026), AWS Architecture Blog, https://aws.amazon.com/blogs/architecture/secure-multi-tenant-rag-with-amazon-bedrock-and-verified-permissions/, accessed 30 Nov 2026.
  5. Search with permissions, OpenFGA documentation, https://openfga.dev/docs/interacting/search-with-permissions, accessed 30 Nov 2026.
  6. RAG authorization, OpenFGA documentation, https://openfga.dev/docs/modeling/agents/rag-authorization, accessed 30 Nov 2026.
  7. Protecting a list endpoint, SpiceDB documentation, AuthZed, https://authzed.com/docs/spicedb/modeling/protecting-a-list-endpoint, accessed 30 Nov 2026.
  8. RAG with access control (8 Jan 2026), Pinecone, https://www.pinecone.io/learn/rag-access-control/, accessed 30 Nov 2026.
  9. Implement multitenancy, Pinecone documentation, https://docs.pinecone.io/guides/index-data/implement-multitenancy, accessed 30 Nov 2026.
  10. Multi-tenancy operations, Weaviate documentation, https://docs.weaviate.io/weaviate/manage-collections/multi-tenancy, accessed 30 Nov 2026.
  11. Controlling access at the document and field level, Elastic documentation, https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/controlling-access-at-document-field-level, accessed 30 Nov 2026.
  12. cedar-policy crate, typed partial evaluation module source, docs.rs, https://docs.rs/cedar-policy/latest/src/cedar_policy/api/tpe.rs.html, accessed 30 Nov 2026.
  13. Agent on-behalf-of OAuth flow, Microsoft Entra Agent ID, Microsoft Learn, https://learn.microsoft.com/en-us/entra/agent-id/agent-on-behalf-of-oauth-flow, accessed 30 Nov 2026.
  14. RFC 8693: OAuth 2.0 Token Exchange, IETF, https://www.rfc-editor.org/rfc/rfc8693, accessed 30 Nov 2026.
  15. UK GDPR Article 17, Right to erasure, legislation.gov.uk, https://www.legislation.gov.uk/eur/2016/679/article/17/data.htm, accessed 30 Nov 2026.
  16. Right to erasure (Articles 17 and 19 GDPR), Data Protection Commission (Ireland), https://dataprotection.ie/individuals/know-your-rights/right-erasure-articles-17-19-gdpr, accessed 30 Nov 2026.
  17. Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models (17 Dec 2024), European Data Protection Board, https://edpb.europa.eu/system/files/2024-12/edpb_opinion_202428_ai-models_en.pdf, accessed 30 Nov 2026.
  18. Morris et al., Text embeddings reveal (almost) as much as text, arXiv:2310.06816, https://arxiv.org/abs/2310.06816v1, accessed 30 Nov 2026.
  19. LLM08:2025 Vector and embedding weaknesses, OWASP GenAI Security Project, https://genai.owasp.org/llmrisk/llm082025-vector-and-embedding-weaknesses/, accessed 30 Nov 2026.
  20. Product FAQ (v2.5.x), Milvus documentation, https://milvus.io/docs/v2.5.x/product_faq.md, accessed 30 Nov 2026.
  21. Cross-region inference, Snowflake documentation, https://docs.snowflake.com/en/user-guide/snowflake-cortex/cross-region-inference, accessed 30 Nov 2026.
  22. Data, privacy and security for Microsoft 365 Copilot: architecture, data protection and auditing, Microsoft Learn, https://learn.microsoft.com/en-us/copilot/microsoft-365/microsoft-365-copilot-architecture-data-protection-auditing, accessed 30 Nov 2026.
  23. Change and deletion detection using indexers for Azure Storage, Azure AI Search, Microsoft Learn, https://learn.microsoft.com/sk-sk/azure/search/search-howto-index-changed-deleted-blobs, accessed 30 Nov 2026.
↑