test(cluster): guard that role reads live only in the authority (archreview theme 4)

This commit is contained in:
Joseph Doherty
2026-08-20 10:21:36 -04:00
parent 4380e2e78a
commit e2497c908d
4 changed files with 258 additions and 3 deletions
@@ -21,7 +21,9 @@ namespace ZB.MOM.WW.OtOpcUa.ControlPlane;
public static class ServiceCollectionExtensions
{
public const string AdminRole = "admin";
// R3-04 (theme 4 guard): alias RoleParser.Admin rather than duplicating the literal — the same
// pattern Runtime/ServiceCollectionExtensions.DriverRole already follows for RoleParser.Driver.
public const string AdminRole = RoleParser.Admin;
public const string ConfigPublishSingletonName = "config-publish";
public const string AdminOperationsSingletonName = "admin-operations";