I’m not too sure what your use case is but github classroom is what I use for managing user access to the organization.
If you are familiar with github but not github classroom, the easiest way to think about github classroom is that it is a batch repository creation app. It lets you grant access to your organization, allow students to create repositories under your organization with appropriate initial files and permissions. Before using github classroom I wrote a few bash scripts that will create repos in bulk… but classroom is superior in every way. Highly recommended.
I have used this app to do the following use casses:
Use case 1: creating individual public or private repos, 1 per student under your organization
Use case 2: creating group repos (mulitiple students per repo) under your organization
Use case 3: creating a single private repo for course content under your organization that students can access under your repo.
Use case 1 and 2 are the documented use cases for github classroom. Below is how I do use case 3 which will create a single private repo for course content that all students can access.
The way to do this is to set it up as an group “assignment”. with unlimited number of team members (don’t change default … or you can set it to number of students in your class + 1 … the +1 is for yourself) but only 1 team maximum.
Then before giving invitation link to students, go to the invitation link yourself and create a new team (remember that the repo will be named -). So choose a team name that will work well as the end of the repo name.
This will create the repo and a team for the repo. Switch the team access for the private repo to read (you are admin for the org, so this won’t prevent you from writing to the repo)
Once you have done this, give the students the invite link and have them “join” the assignment team.
This has a few advantages…because when you do this, you will have one single team that the students are in. If you need to do a class group thing, they are all in that one team and you have access to their user ids.