Skip to content

Commit

Permalink
fix: show config repo for anon users
Browse files Browse the repository at this point in the history
Fixes: 4a5c387 ("fix: respect private repos")
  • Loading branch information
aymanbagabas committed Aug 3, 2022
1 parent 2ca6979 commit 8316558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tui/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8316558

Please sign in to comment.