vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
Add instance-wide roles and refine access UI
5b814e9958090cfd1fa826efb2d375bf613547c1 · Keenan Nemetz · 14d ago · parent 9579c1f9
Add instance-wide roles and refine access UI Instance roles now live on accounts, apply to public repositories, and the Admin role is the unified instance-admin permission with access to every repository. Repository ACLs can raise an instance role but not lower it. Adds role assignment to the users UI and CLI, open-registration role config, a reusable role picker, and separates adding a repository account from saving access rules.
server/web/templates/role-picker.html +13
| @@ -0,0 +1,13 @@ | |||
| 1 | {{define "role-picker"}} | ||
| 2 | <fieldset class="role-options{{if .Compact}} compact{{end}}"> | ||
| 3 | {{if .Legend}}<legend>{{.Legend}}</legend>{{end}} | ||
| 4 | {{if .Help}}<p class="muted">{{.Help}}</p>{{end}} | ||
| 5 | {{range .Options}} | ||
| 6 | <label class="role-option" title="{{.Description}}"> | ||
| 7 | <input type="radio" name="{{$.Name}}" value="{{.Value}}" aria-label="{{.Name}}: {{.Description}}"{{if eq .Value $.Selected}} checked{{end}}> | ||
| 8 | <span class="role-name">{{.Name}}</span> | ||
| 9 | <span class="role-desc">{{.Description}}</span> | ||
| 10 | </label> | ||
| 11 | {{end}} | ||
| 12 | </fieldset> | ||
| 13 | {{end}} | ||