Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to view private/hidden repositories without using key in config.yaml #303

Open
kgadberry opened this issue May 19, 2023 · 0 comments
Assignees

Comments

@kgadberry
Copy link

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:

  1. Install Soft Serve using Docker and add an SSH key to initial_admin_keys in config.yaml
  2. Run soft set-username using key defined in initial_admin_keys
  3. Run soft repo add new-repository
  4. Push to repository and run soft repo private new-repository true
  5. Run soft user add-pubkey [key]
  6. Runing soft repo info new-repository returns Error: Unauthorized
  7. Running soft repo list returns nothing.

Expected behavior

  • soft repo info new-repository should return repository info.
  • soft repo list should return new-repository

Environment:

  • OS: Ubuntu 20.04.6 LTS running kernel 5.4.0-1084-raspi
  • Version: charmcli/soft-serve:v0.5.4 on version 23.0.6, build ef23cbc
@bashbunni bashbunni self-assigned this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants