I'd like to set up a Jenkins to build GitHub projects for a group of people working on different projects in a way that the projects' visibility in Jenkins follows the authorization in GitHub.
I did this before (successfully) using GitHub Auth Plugin and the Committer Strategy, but fail to reproduce the configuration.
What I reached so far:
- I am running jenkins/jenkins:jdk11 in docker.
- I successfully configured GitHub Authentication, that is users are authenticated via OAuth (currently with scopes "repo, read:org, read:user"), so their github name is displayed as username.
I added some github projects, and the "GitHub Committer Strategy" helped me to configure the visibility last time, but now I run into a problem I don't really understand.
If I leave the configuration of the GitHub Committer Strategy blank (except for a admin user), authenticated users can't see anything. There's a message "Access denied, XXX is missing the Overall/Read permission" (translated).
I still get this error when I check "Use GitHub Repository Permissions". When I add "Grant READ permissions to all Authenticated Users", users can see each other's projects.
I don't even understand how it's supposed to work. How can I configure the plugin such that every authenticated user gets an overview of all his projects?
I am using Jenkins 2.223 and GitHub Authentiction Plugin 0.33.