{{define "width"}}bounded{{end}} {{define "title"}}accounts · admin · {{.Site}}{{end}} {{define "content"}}

Accounts

Admin · the same read as gitbay admin user list.

{{if .Notice}}

{{.Notice}}

{{end}} {{if .Users}}
{{range .Users}} {{end}}
AccountStateCreatedLast seenActions
{{.Username}}{{if .Admin}} admin{{end}} {{.State}} {{when .CreatedAt}} {{if .LastSeen}}{{when .LastSeen}}{{else}}never{{end}} {{if .Admin}}
{{template "confirmfield" .Username}}
{{else if eq .State "active"}}
{{else}} {{/* An account that is not active cannot be promoted, but the row still draws the control so every Actions cell is the same shape. Both parts are disabled, so the form never posts. */}}
{{end}} {{if eq .State "disabled"}}
{{else}}
{{template "confirmfield" .Username}}
{{end}}
{{else}}

No account matches

{{end}} {{if .Next}}

more →

{{end}}

Creating and deleting an account, issuing an invite and asserting an address stay on the command line: each takes a key, mints a credential, or cannot be undone.

gitbay admin user create <name> --key - < key.pub
gitbay admin user delete <name> --yes
gitbay admin invite --email <address>
{{end}}