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
docs/reference/accounts-and-access.md +27−16
| @@ -66,8 +66,9 @@ follow WebAuthn's separate rule and do not trigger this refusal. | |||
| 66 | 66 | ||
| 67 | 67 | Open registration creates an account and its first passkey without an admin. | |
| 68 | 68 | Its configured instance-wide role applies only to public repositories. Accepted | |
| 69 | self-registration roles are `none`, `read`, and `contribute`; `maintain` and | ||
| 70 | `admin` require an explicit admin grant. Registration has no email verification. | ||
| 69 | self-registration roles are `none`, `read`, and `contribute`; `runner`, | ||
| 70 | `maintain`, and `admin` require an explicit admin grant. Registration has no | ||
| 71 | email verification. | ||
| 71 | 72 | ||
| 72 | 73 | ## Access-rule evaluation | |
| 73 | 74 | ||
| @@ -77,10 +78,10 @@ The effective repository role is the highest of: | |||
| 77 | 78 | - the account's explicit repository entry; | |
| 78 | 79 | - the account's instance-wide role. | |
| 79 | 80 | ||
| 80 | Instance-wide `read`, `contribute`, and `maintain` do not open private | ||
| 81 | repositories. Instance-wide `admin` administers all repositories, including | ||
| 82 | private ones. A repository entry can raise an instance-wide role but cannot | ||
| 83 | lower it. | ||
| 81 | Instance-wide `read`, `contribute`, `runner`, and `maintain` do not open | ||
| 82 | private repositories. Instance-wide `admin` administers all repositories, | ||
| 83 | including private ones. A repository entry can raise an instance-wide role but | ||
| 84 | cannot lower it. | ||
| 84 | 85 | ||
| 85 | 86 | Access-rule updates use compare-and-swap. A command or browser form that read an | |
| 86 | 87 | older rule version cannot overwrite a newer change. Operations that own one | |
| @@ -94,19 +95,27 @@ anonymous readers so existence is not disclosed. | |||
| 94 | 95 | Every push is checked before any ref moves. Browser metadata writes use the same | |
| 95 | 96 | capabilities and validators as pre-receive. These checks cover protected | |
| 96 | 97 | branches, approvals, required checks, file limits, locks, metadata rules, and | |
| 97 | trusted-runner membership. Privileged overrides and merges through review are | ||
| 98 | runner role. Privileged overrides and merges through review are | ||
| 98 | 99 | recorded in `data/audit.log`. | |
| 99 | 100 | ||
| 100 | 101 | ### Protected refs and trusted runners | |
| 101 | 102 | ||
| 102 | 103 | A protected-branch pattern is an exact ref or a prefix ending in one `*`. | |
| 103 | `protect`, `runners`, and related list commands use `list`, `add`, `remove`, | ||
| 104 | `set`, and `clear` to inspect, change one entry, replace the list, or empty it. | ||
| 105 | Admins can push protected refs directly. | ||
| 106 | |||
| 107 | Admins always count as trusted runners. A non-admin must be named in the | ||
| 108 | repository runner allowlist for its result to satisfy a required check. Retired | ||
| 109 | accounts stop counting even if their names remain in stored lists. | ||
| 104 | `protect` and related commands use `list`, `add`, `remove`, `set`, and `clear` to | ||
| 105 | inspect, change one entry, replace the list, or empty it. Admins can push | ||
| 106 | protected refs directly. | ||
| 107 | |||
| 108 | The `runner` role is the CI trust decision. It is ordered between `contribute` | ||
| 109 | and `maintain`, so it may lease and run jobs, have its results satisfy required | ||
| 110 | checks, and publish the repository's site and declared artifacts. It implies | ||
| 111 | read and contribute but not shared-branch writes, triage, or approval. | ||
| 112 | Maintainers and admins are above it and count as runners implicitly. Retired | ||
| 113 | accounts stop counting even if their role entries remain. | ||
| 114 | |||
| 115 | The retired runner allowlist is read once and folded into the role: an existing | ||
| 116 | allowlist entry becomes `runner` unless the account already held something | ||
| 117 | higher. The `acl runners` commands are gone; use `acl set-role <repo> <account> | ||
| 118 | runner` instead. | ||
| 110 | 119 | ||
| 111 | 120 | ### Contributor metadata writes | |
| 112 | 121 | ||
| @@ -129,8 +138,10 @@ directory. | |||
| 129 | 138 | ||
| 130 | 139 | Repository roles otherwise apply normally. A maintain bot can push shared | |
| 131 | 140 | branches, trigger CI immediately, manage items permitted by its role, approve | |
| 132 | another account's request, and receive declared secrets. A contribute bot is | ||
| 133 | limited to its own namespace and maintainer-approved CI. | ||
| 141 | another account's request, and receive declared secrets. A runner bot can lease | ||
| 142 | and run jobs, report checks, and publish sites and artifacts, but cannot push a | ||
| 143 | shared branch or approve. A contribute bot is limited to its own namespace and | ||
| 144 | maintainer-approved CI. | ||
| 134 | 145 | ||
| 135 | 146 | A runner uses the bot's ordinary SSH key to authenticate the runner process. By | |
| 136 | 147 | contrast, `acts-as:` gives a job a new credential scoped to that repository and | |