test(grpc-data): H2 live smoke on the standalone rig - denied-principal modes, pinned-build check, parity; evidence
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user