RFC 113: Implement PermsFetcher
interface for GitHub authz provider
#8890
Labels
auth
estimate/1d
planned/3.15
Issues that were planned for the given milestone. Used by cmd/tracking-issue.
Milestone
Essentially, add two methods to GitHub authz provider:
enterprise/cmd/frontend/internal/authz/github
sourcegraph/enterprise/cmd/repo-updater/authz/perms_syncer.go
Lines 45 to 62 in 21ebcf7
An example implementation for GitLab can be found at https://github.com/sourcegraph/sourcegraph/blob/master/enterprise/cmd/frontend/internal/authz/gitlab/sudo.go
Things to note
github.GetExternalAccountData(&userAccount.ExternalAccountData)
.extsvc.ExternalAccountID
for results.RepoPerms
today.extsvc.ExternalRepoID
for results.login
is not required, just for debugging):Let me know when you have any questions!
The text was updated successfully, but these errors were encountered: