feat(security): AuthDisableLoginOptions + Roles.All for dev auto-login
This commit is contained in:
@@ -38,4 +38,8 @@ public static class Roles
|
||||
public const string Designer = "Designer";
|
||||
public const string Deployer = "Deployer";
|
||||
public const string Viewer = "Viewer";
|
||||
|
||||
/// <summary>All declared ScadaBridge roles — the single source of truth for "all
|
||||
/// permissions" (e.g. the dev auto-login principal). Stays in sync if a role is added.</summary>
|
||||
public static readonly string[] All = [Administrator, Designer, Deployer, Viewer];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user