You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Private and hidden repositories are only visible when using an SSH key that's in config.yaml under initial_admin_keys, even when the SSH key has been added to the admin user who marked them as private/hidden.
To Reproduce
Steps to reproduce the behavior:
Install Soft Serve using Docker and add an SSH key to initial_admin_keys in config.yaml
Run soft set-username using key defined in initial_admin_keys
Run soft repo add new-repository
Push to repository and run soft repo private new-repository true
Run soft user add-pubkey [key]
Runing soft repo info new-repository returns Error: Unauthorized
Running soft repo list returns nothing.
Expected behavior
soft repo info new-repository should return repository info.
Description
Private and hidden repositories are only visible when using an SSH key that's in
config.yaml
underinitial_admin_keys
, even when the SSH key has been added to the admin user who marked them as private/hidden.To Reproduce
Steps to reproduce the behavior:
initial_admin_keys
inconfig.yaml
soft set-username
using key defined ininitial_admin_keys
soft repo add new-repository
soft repo private new-repository true
soft user add-pubkey [key]
soft repo info new-repository
returnsError: Unauthorized
soft repo list
returns nothing.Expected behavior
soft repo info new-repository
should return repository info.soft repo list
should returnnew-repository
Environment:
Ubuntu 20.04.6 LTS
running kernel5.4.0-1084-raspi
charmcli/soft-serve:v0.5.4
on version23.0.6, build ef23cbc
The text was updated successfully, but these errors were encountered: