Skip to content

Commit

Permalink
fix: misleading authorized users comment
Browse files Browse the repository at this point in the history
Private repos can be accessed by admins and collab users. All other
users can read public repos based on the anon-access setting.

Fixes: #165
  • Loading branch information
aymanbagabas committed Oct 13, 2022
1 parent be4c80a commit bccc716
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ repos:
note: "A private repo"

# Authorized users. Admins have full access to all repos. Regular users
# can read all repos and push to their collab-repos.
# can read public repos and push to their collab-repos.

# Authorized users. Admins have full access to all repos. Private repos are only
# accessible by admins and collab users. Regular users can read public repos
# based on your anon-access setting.
users:
- name: Beatrice
admin: true
Expand Down
5 changes: 3 additions & 2 deletions config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ repos:

const hasKeyUserConfig = `
# Authorized users. Admins have full access to all repos. Users can read all
# repos and push to their collab-repos.
# Authorized users. Admins have full access to all repos. Private repos are only
# accessible by admins and collab users. Regular users can read public repos
# based on your anon-access setting.
users:
- name: Admin
admin: true
Expand Down

0 comments on commit bccc716

Please sign in to comment.