note soft collaborators

This commit is contained in:
Malin Freeborn 2024-12-04 20:03:14 +01:00
parent 7c28e70eb4
commit d1931d2e8b
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -2,3 +2,29 @@ Soft Serve has its configurations stored inside itself in a repo. Admins can pu
`git clone ssh://soft.dmz.rs:2222/.soft-serve`
# Adding Users
Summary:
`ssh -p 2222 soft.dmz.rs user --help`
Add user `ana` to the `fixme` repository:
```bash
user=ana
repo=fixme
ssh -p 2222 soft.dmz.rs user create $user
key="$(cat ~/dmzadmin/ssh_keys/alice.pub)"
ssh -p 2222 soft.dmz.rs user add-pubkey "$key" $user
ssh -p 2222 soft.dmz.rs repo collab add $repo $user
ssh -p 2222 soft.dmz.rs user info $user
```
Add `bojan` as an admin (who can see an change all repositories):
```bash
user=bojan
sshkey="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF5g6oP6+DyFhkIrN4pRcvsQ7RgNavEyzN2kH8yOB6mA bojan@posteo.net"
ssh -p 2222 soft.dmz.rs user create --admin --key "$sshkey" "$user"
```