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.
Name role capabilities consistently
cc5123a549d8d0991e74a88fff8208b5071d1192 · Keenan Nemetz · 1d ago · parent 648cd81b
server/hook/hook.go +2−2
| @@ -228,7 +228,7 @@ func PreReceive(cfg Config) int { | |||
| 228 | 228 | "grant it with `vole admin acl set-role %s %s runner`, or give it maintain access", | |
| 229 | 229 | actor, m.Name, pageRef(cfg.PagesRef), role, m.Name, actor) | |
| 230 | 230 | } else { | |
| 231 | reject(cfg.Out, "%s does not have maintain, runner, or contribute access to %s (role: %s)", actor, m.Name, role) | ||
| 231 | reject(cfg.Out, "%s does not have maintainer, runner, or contributor access to %s (role: %s)", actor, m.Name, role) | ||
| 232 | 232 | } | |
| 233 | 233 | return 1 | |
| 234 | 234 | } | |
| @@ -284,7 +284,7 @@ func PreReceive(cfg Config) int { | |||
| 284 | 284 | c.ref, site, role)) | |
| 285 | 285 | } else { | |
| 286 | 286 | problems = append(problems, fmt.Sprintf( | |
| 287 | "%s: the contribute role may only push branches under %s and the issues branch (role: %s)", | ||
| 287 | "%s: the contributor role may only push branches under %s and the issues branch (role: %s)", | ||
| 288 | 288 | c.ref, access.ContributorBranchPrefix(actor), role)) | |
| 289 | 289 | } | |
| 290 | 290 | continue | |