feat(grpc-data): H3 ProjectedHistoryAccess over deployed connections

Resolves, authorizes (HistoryRead demand: mapping bit + local grant on the
mapping scope, ACLs on or off) and pins each projected node, groups the batch
per connection / details / issuing endpoint and forwards through
IDataHistoryService. Remote cursors bind caller, mapping id+revision,
connection route, projection generation, origin view and serving identity, and
resend the ORIGINAL details; any change => BadContinuationPointInvalid with the
origin token released. Shared per-request assembly budget (min mapping
MaxHistoryAssemblyBytesPerRequest) => BadTooManyOperations for the remaining
nodes. Releases coalesce per connection. Replaces the H2 refusal pin with the
intended behaviour (granted => served, no grant => BadUserAccessDenied).
This commit is contained in:
Joseph Doherty
2026-11-24 00:28:17 -05:00
parent dc6cc7779d
commit 19b8163045
13 changed files with 949 additions and 29 deletions
@@ -380,7 +380,7 @@ public sealed class RemoteNamespaceResolver : IFederatedProjectionCatalog, IDisp
if (!guard.IsCurrent() || caller is not null && !_policy.AuthorizeMapped(caller, OpcUaOperation.CreateMonitoredItems,
mapped.View, serving, subject, resolver, lease)) return false;
var newDefinition = new ProjectedVariableDefinition(definition.Realm, definition.LocalIdentifier, definition.Parent,
mapped, generation, guard.IsCurrent) { Lifetime = definition.Lifetime };
mapped, generation, guard.IsCurrent) { Lifetime = definition.Lifetime, Historizing = ProjectedHistoryAccess.Advertises(renewed) };
return sink.TryRenewExact(nodeId, definition, newDefinition, () =>
{
var duration = Clock.GetElapsedTime(started, Clock.GetTimestamp());