How do I give read-only access to some users in another department? · community · Discussion #208139 · GitHub
Skip to content
Discussion options

You must be logged in to vote

That's exactly the right question to pin down — worth asking IT directly: "Will a human browse the repos, or will an automated tool fetch them?" Everything follows from that one answer:

  • Automated scanner (your presumption, and the most common case for security scanning): use the machine-identity route from my earlier comment — a GitHub App, or a service-account fine-grained PAT, with Contents: Read-only scoped to only the repos in question. No human accounts, no seats, nothing to browse.
  • Humans who need to view/clone: then someone needs a GitHub identity to read with. If your IT staff can get accounts under your domain policy, the lightest form is a read-only team that only contains thos…

Replies: 8 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@Rod-at-DOH
Comment options

@meruw
Comment options

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Answer selected by Rod-at-DOH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enterprise Discussions related to GitHub Enterprise Cloud, Enterprise Server and Organizations Question Ask and answer questions about GitHub features and usage source:ui Discussions created via Community GitHub templates
6 participants