From 83165588aa36d68a58c4fe74ff6e7440b3b4ad34 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 3 Aug 2022 15:11:50 -0400 Subject: [PATCH] fix: show config repo for anon users Fixes: 4a5c387bb045 ("fix: respect private repos") --- internal/tui/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tui/commands.go b/internal/tui/commands.go index 5be3c9d17..22125c43a 100644 --- a/internal/tui/commands.go +++ b/internal/tui/commands.go @@ -65,7 +65,7 @@ func (b *Bubble) menuEntriesFromSource() ([]MenuEntry, error) { if acc == gm.NoAccess && cr.Repo != "config" { continue } - if cr.Private && acc < gm.ReadOnlyAccess { + if cr.Private && acc < gm.ReadOnlyAccess && cr.Repo != "config" { continue } me, err := b.newMenuEntry(cr.Name, cr.Repo)