fix(grpc-data): A3a review r1 — condition-bearing projected folders are event notifiers from materialisation (folder-only demand), null-safe revalidation log; NM tests: B3 revalidation + demand release, S1 rebuild, deviation 3/6/8, S2 verdict TTL, A3-SEC delivery gate isolated (DroppedOnPublish 0)
This commit is contained in:
@@ -158,6 +158,11 @@ public sealed partial class ProjectedConditionAccess : IProjectedConditionAccess
|
||||
return Gate(identity, _mappings.Current, mappingId, null, folderLocalSubject);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsConditionBearingMapping(string mappingId) =>
|
||||
_mappings.Current.Any(x => string.Equals(x.Mapping.RemoteNamespaceMappingId, mappingId, StringComparison.OrdinalIgnoreCase)
|
||||
&& x.Authority.IsActive && IsConditionBearing(x.Mapping));
|
||||
|
||||
/// <summary>The mapping gate for one (mapping, folder) placement; <paramref name="realm"/> null = the mapping's own.</summary>
|
||||
private bool Gate(DataCallerIdentity identity, IReadOnlyList<ProjectedMappingPlacement> current, string mappingId, DataRealm? realm,
|
||||
string folderLocalSubject)
|
||||
|
||||
Reference in New Issue
Block a user