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:
+5
-1
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user