docs(grpc-data): missing export grant is PERMISSION_DENIED for the call; ACL-denied/unhistorized/unknown nodes are 0x80720000

This commit is contained in:
Joseph Doherty
2026-11-23 23:32:26 -05:00
parent a3e2f13815
commit f3f0af87a2
2 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -155,8 +155,10 @@ connection directly (`IDataHistoryService` on the deployed connection, or `Local
**Grants (all default off).** The `HistoryRead` operation (bit 32) must be on the consumer's `DataConnection`, on the
origin's `DataExport` for the service principal, and — for a later projected read — on the `RemoteNamespaceMapping`.
The origin also checks its own node ACL `HistoryRead` on the exported node on every call, whatever
`Security:Acl:Enabled` says. A node that is not historized, not exported, denied or unknown answers the same
`BadHistoryOperationUnsupported`, so a peer cannot tell them apart. Run X0 on every node of both clusters before ticking
`Security:Acl:Enabled` says. A principal with no export granting it HistoryRead gets `PERMISSION_DENIED` for the whole
call (as v1 Read does without a Read grant; it reveals nothing per node). Within a granted call, a node the origin ACL
denies, an unhistorized node and an unknown node all answer the identical `BadHistoryOperationUnsupported` (`0x80720000`),
so a peer cannot tell them apart. Run X0 on every node of both clusters before ticking
the bit (see "Mixed versions" below); the AdminUI editor shows a reminder.
**Negotiation.** The capabilities probe always asks for `history`; an origin advertises it only when a historian backend