feat: show application ownership and scoped console management
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user