Repair router frontdoor convergence and live route contracts
This commit is contained in:
@@ -433,6 +433,14 @@ public sealed class IdentityHeaderPolicyMiddleware
|
||||
scopes.Add("scheduler.runs.preview");
|
||||
scopes.Add("scheduler.runs.manage");
|
||||
}
|
||||
|
||||
// Legacy operator sessions still mint orch:quota and rely on the gateway to
|
||||
// resolve the equivalent fine-grained quota scopes before frontdoor auth.
|
||||
if (scopes.Contains("orch:quota"))
|
||||
{
|
||||
scopes.Add("quota.read");
|
||||
scopes.Add("quota.admin");
|
||||
}
|
||||
}
|
||||
|
||||
private void StoreIdentityContext(HttpContext context, IdentityContext identity)
|
||||
|
||||
Reference in New Issue
Block a user