feat(authority): add delegated control-plane grants
CI / test (push) Failing after 37s

This commit is contained in:
m
2026-08-31 11:33:48 +03:00
parent cb50b7357b
commit 1c05619899
21 changed files with 865 additions and 10 deletions
+3
View File
@@ -100,6 +100,9 @@ func main() {
core: creatorCore, continuity: creatorContinuity, authority: authorityRepository, repository: repository,
executor: dispatcher, newID: ids.New, now: time.Now,
}, executorToken)
registerDelegatedControlPlaneRoutes(mux, delegatedControlPlaneHandler{
authority: authorityRepository, core: creatorCore, credential: delegatedControlPlaneCredential, now: time.Now, newID: ids.New,
})
mux.HandleFunc("POST /v1/authorized-actions", func(w http.ResponseWriter, r *http.Request) {
var request authorizationRequest
if err := json.NewDecoder(r.Body).Decode(&request); err != nil {