Watch
0
0
Fork
You've already forked hyperhive
0

lock the service forge accounts out of creating organizations

This commit is contained in:
atlas 2026-11-16 21:40:02 +01:00
commit 87dc4c5533

View file

@ -330,9 +330,9 @@ authors every classifier review, and it pushes the branches the try-out section
creates.
`swarm-controller` creates it as `review-classifier`, with the email
`review-classifier@services.hyperhive.local` and no repo creation, and mints
its one token, `swarm-review-classifier` with scope `write:repository`, into
the store at `swarm/services/review-classifier/forge/token`. A pass at start
`review-classifier@services.hyperhive.local`, no repo creation and no
organizations, and mints its one token, `swarm-review-classifier` with scope
`write:repository`, into the store at `swarm/services/review-classifier/forge/token`. A pass at start
and every five minutes re-mints when the token is missing or no longer
matches the forge. The controller refuses an existing account by that name
with any other email. The controller posts the reviews and pushes the try-out