diff --git a/docs/DataConnections.md b/docs/DataConnections.md index 51f2f18ed..6f0968576 100644 --- a/docs/DataConnections.md +++ b/docs/DataConnections.md @@ -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 diff --git a/docs/plans/evidence/grpc-data-ext/H2.md b/docs/plans/evidence/grpc-data-ext/H2.md index e93c4a99e..d42f8ba69 100644 --- a/docs/plans/evidence/grpc-data-ext/H2.md +++ b/docs/plans/evidence/grpc-data-ext/H2.md @@ -128,8 +128,9 @@ Not reproduced on master here (no second checkout from this worktree) — coordi - `GetCapabilities` with `x-otopcua-data-features: history` ⇒ `history` present, `operations` has 32; without the header ⇒ neither. - `HistoryRead` with the header, `raw{end=, num_values_per_node=5}` on the tag's view ⇒ Good, ≤ 5 newest values newest-first plus a `continuation`; resume it once ⇒ the next page; resume the same token again ⇒ `0x804A0000`. - - The same on an unhistorized tag, and with the export's HistoryRead unticked on a second key ⇒ identical - `0x80720000` results; without the header ⇒ `FAILED_PRECONDITION`. + - The same on an unhistorized tag, on an unknown view, and on a tag the origin ACL denies HistoryRead ⇒ identical + `0x80720000` results. A second key whose export lacks HistoryRead ⇒ `PERMISSION_DENIED` for the whole call (review + fix 2, as v1 Read; nothing per node). Without the header ⇒ `FAILED_PRECONDITION`. 4. Consumer side: a runtime consumer holding the deployed connection (`IDataConnectionDeploymentSource` lease) calls `IDataHistoryService.ReadAsync` with the same window ⇒ the same rows/statuses as step 3 / an OPC UA historyread on the origin node.