Sign in

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

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.

Let repo create choose visibility, not an owner

d74e7e231de16fa00366dc8ccc392fc9c637b52d · Keenan Nemetz · 3d ago · parent 3455902a

Let repo create choose visibility, not an owner

A repository has no owner: the argument only seeded one admin entry in the
ACL store, and instance admins can already administer every repository. The
create command therefore asked for a fact the repository does not keep.

Replace --owner with --visibility private|public on `vole admin repo create`,
the remote admin command, and the web form. The initial rule set is written
once, inside the store, so a public repository is never briefly private. An
admin who wants to hand a repository to someone grants a role with the acl
commands, exactly as for any later access change.

closes: 01M82CC7G9W46PRP89GQ5CNMDE

server/web/templates/home.html +1−1

@@ -54,7 +54,7 @@
54 54 <h2>No repositories yet</h2>
55 55 <p class="muted">A repository is where code, issues, changes, and runs live. Create the first one to get started.</p>
56 56 <p class="empty-actions"><a class="button" href="/-/repos/new">{{icon "plus"}}New repository</a></p>
57 <p class="empty-hint">Or from the instance directory: <code>vole admin repo create demo --owner {{if .User}}{{.User}}{{else}}you{{end}}</code></p>
57 <p class="empty-hint">Or from the instance directory: <code>vole admin repo create demo</code></p>
58 58 </div>
59 59 {{else if .LoggedIn}}
60 60 <div class="empty-state">