feat: show application ownership and scoped console management

This commit is contained in:
2026-09-27 12:12:46 +08:00
parent ed17713ea1
commit 1f2e7230dc
26 changed files with 757 additions and 47 deletions

View File

@@ -29,7 +29,7 @@ func RegisterConsoleArchiveJobs(server *http.Server, consoleAuth RetentionConsol
writeError(w, "", fault.Unauthorized)
return auth.Token{}, false
}
return t, true
return scopedConsoleToken(r, t), true
}
key := func(w http.ResponseWriter, r *http.Request) (string, bool) {
keys := r.Header.Values("Idempotency-Key")