Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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 user administration

395554f453ca31d3bd325920a7011c91230e961c · Keenan Nemetz · 15d ago · parent 8e93a8f0

Add instance user administration

Instance admins get an Admin -> Users surface: create an account from a one-time enrollment link, grant or revoke instance admin, retire an account, refresh its invite, inspect keys and sessions, remove a key, and revoke every session. Account creation uses CreateWithInvite, so the browser never asks an operator to paste somebody else's SSH key. Enrollment links are rendered once with no-store and warn when browser login is disabled. Retiring and admin changes keep the store's last-admin guard and audit trail.

server/web/templates/admin.html +5−1

@@ -5,6 +5,9 @@
5 5 <h1>Admin</h1>
6 6 <p class="page-sub">Instance-wide administration. Repository admins manage their own description, default branch, and visibility.</p>
7 7 </div>
8 <div class="page-head-actions">
9 <a class="button secondary" href="/admin/users">{{icon "users"}}Users</a>
10 </div>
8 11 </div>
9 12
10 13 {{if .Repos}}
@@ -42,7 +45,8 @@
42 45 <p class="page-sub">{{if .Description}}{{.Description}} · {{end}}{{if .Public}}public{{else}}private{{end}} · instance-admin rules</p>
43 46 </div>
44 47 <div class="page-head-actions">
45 <a class="button secondary" href="/admin">{{icon "sliders-horizontal"}}All repositories</a>
48 <a class="button secondary" href="/admin">{{icon "book-open"}}All repositories</a>
49 <a class="button secondary" href="/admin/users">{{icon "users"}}Users</a>
46 50 </div>
47 51 </div>
48 52