test(grpc-data): A4 review r2 NITs — F4 ungranted caller is refused without promoting the folder (fake gate honours ConditionBearing; control is BadUserAccessDenied), EventId retention across a held-set takeover
Adds the ProjectedFolderEventNotifier test observation. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -709,6 +709,14 @@ public sealed partial class OtOpcUaNodeManager : IProjectedConditionSink
|
||||
IsImportedConditionId(nodeId) ? AuthorizeImportedCondition(identity, operation, nodeId) : null;
|
||||
|
||||
/// <summary>Test observation: whether a projected folder is currently wired as a notifier of some imported condition.</summary>
|
||||
/// <summary>Test observation (A4 review r2): a projected folder's <c>EventNotifier</c> (null when it is no known projected folder).</summary>
|
||||
internal byte? ProjectedFolderEventNotifier(NodeId folderId)
|
||||
{
|
||||
lock (Lock)
|
||||
return _importedConditions.FolderKeys.TryGetValue(folderId, out var key) && FindProjectedFolder(key) is { } folder
|
||||
? folder.EventNotifier : null;
|
||||
}
|
||||
|
||||
internal bool IsImportedNotifierWired(NodeId folderId)
|
||||
{
|
||||
lock (Lock) return _importedConditions.WiredByFolder.ContainsKey(folderId);
|
||||
|
||||
Reference in New Issue
Block a user