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.

Let instance admins create bot accounts from the web UI

8c72543b9ef4ac728740a6f0b3a649f9c3102e7a · Keenan Nemetz · 5d ago · parent f422c24f

Let instance admins create bot accounts from the web UI

The Accounts page could only invite a person with an enrollment link. A bot has no browser sign-in, so it needs an SSH key at creation instead. Add a bot form that reuses identity.CreateBot, keep admin out of its role picker, and hide the enrollment action on a bot's account page.

docs/accounts-and-access.md +4

@@ -31,6 +31,10 @@ is created by an instance admin with the repository role it should have:
31 31 vole admin account create coding-agent --bot --key agent.pub --role contribute
32 32 ```
33 33
34 An instance admin can do the same from the **Create a bot account** form on the
35 Accounts page: name the account, paste its public key, and choose a role. A bot
36 cannot be given the instance-admin role in either place.
37
34 38 The kind is fixed at creation, like the name. A bot differs from a person in three
35 39 ways, and only three:
36 40