vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Replace the runner allowlist with a runner role
648cd81bde97042f682a528ebb9ce6353b95bf3f · Keenan Nemetz · 1d ago · parent ea92d754
server/web/write_context.go +2−2
| @@ -97,8 +97,8 @@ func (w *Web) repoWriteContext(rw http.ResponseWriter, r *http.Request, pr *prin | |||
| 97 | 97 | // writeBudgeted reports whether this account's browser writes are counted against | |
| 98 | 98 | // the contributor budget. Maintainers and admins are trusted roles: the instance's | |
| 99 | 99 | // threat model treats them as able to write metadata and approve changes already, | |
| 100 | // so a write budget would only get in their way. The contribute role is the | ||
| 101 | // untrusted one, and read-only accounts below it cannot write at all. | ||
| 100 | // so a write budget would only get in their way. Contribute and runner are the | ||
| 101 | // untrusted ones, and read-only accounts below them cannot write at all. | ||
| 102 | 102 | func writeBudgeted(role access.Role) bool { | |
| 103 | 103 | return !role.AtLeast(access.Maintain) | |
| 104 | 104 | } | |