feat(auth): seed SCADA-Viewers->Viewer LDAP-group role mapping

Completes the multi-role test user's 4th role. HasData row Id=5
(SCADA-Viewers->Viewer) + the SCADA-Viewers group in the (now-retired) local
glauth config. The live shared dir is scadaproj/infra/glauth/.
This commit is contained in:
Joseph Doherty
2026-06-04 16:38:08 -04:00
parent 244207c0db
commit 5ddb17a089
2 changed files with 12 additions and 2 deletions
@@ -33,7 +33,11 @@ public class LdapGroupMappingConfiguration : IEntityTypeConfiguration<LdapGroupM
new LdapGroupMapping("SCADA-Admins", "Administrator") { Id = 1 },
new LdapGroupMapping("SCADA-Designers", "Designer") { Id = 2 },
new LdapGroupMapping("SCADA-Deploy-All", "Deployer") { Id = 3 },
new LdapGroupMapping("SCADA-Deploy-SiteA", "Deployer") { Id = 4 });
new LdapGroupMapping("SCADA-Deploy-SiteA", "Deployer") { Id = 4 },
// SCADA-Viewers → Viewer completes the four-role set so the GLAuth
// "multi-role" test user (a member of every SCADA-* group) resolves to
// Administrator + Designer + Deployer + Viewer.
new LdapGroupMapping("SCADA-Viewers", "Viewer") { Id = 5 });
}
}