Note:
Temporarily accessing user-owned repositories is currently in beta for Enterprise Managed Users and subject to change.
If your enterprise uses Enterprise Managed Users, and you've allowed users to create repositories owned by their user accounts, you can temporarily access any user-owned repository within your enterprise.
When you temporarily access a repository, you get admin access to the repository for two hours. You can take all the same actions as the repository owner, including editing the repository, changing the repository's settings, transferring the repository, and deleting the repository.
The repository owner will receive an email informing them that you have enabled temporary access to the repository, and a
repo.temporary_access_granted
event will be added to the audit log for your enterprise and the user's security log.
-
In the top-right corner of GitHub, click your profile photo, then click
Your enterprises
.
-
In the list of enterprises, click the enterprise you want to view.
-
In the enterprise account sidebar, click
Policies
.
-
Under "
Policies", click
Repositories
.
-
In the "Repository creation" section, under "Block the creation of user namespace repositories," click
View user namespace repositories in your enterprise
.
-
To the right of the repository you want to access, select the
dropdown menu, then click
Enable temporary access
.
-
Read the warnings, then click
Yes, enable temporary access
.