test(grpc-data): H2 live smoke on the standalone rig - denied-principal modes, pinned-build check, parity; evidence

This commit is contained in:
Joseph Doherty
2026-11-23 23:31:30 -05:00
parent a4cd2a4b0e
commit a3e2f13815
5 changed files with 147 additions and 18 deletions
+3 -1
View File
@@ -379,8 +379,10 @@ try
RemoteIdentifierKind = "string", RemoteIdentifier = realm == DataRealm.Raw ? "modbus/plc" : equipment, AllowedOperations = operations, WriteThrough = true });
}
if (history)
// The second principal's origin ACL also lacks HistoryRead: with its export's HistoryRead off the RPC is refused
// (PermissionDenied, like v1 Read); granting the export bit then leaves the per-node ACL denial (BadHistoryOperationUnsupported).
db.NodeAcls.Add(new() { NodeAclRowId = Guid.NewGuid(), NodeAclId = "source-peer-nohistory", ClusterId = "SOURCE", Principal = "fixture-nohistory",
ScopeKind = NodeAclScopeKind.Cluster, PermissionFlags = NodePermissions.Admin });
ScopeKind = NodeAclScopeKind.Cluster, PermissionFlags = NodePermissions.ReadOnly & ~NodePermissions.HistoryRead });
await db.SaveChangesAsync();
}
var seedAdmin = new ApiKeyAdminService(factory, pepper);