2

We had one of out github enterprise organization owners leave the company recently and he did not transfer ownership to any of the other admins. Is there anyway to change an organization owner as a site admin or will we be forced to migrate all of the repos to a new Organization?

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Greg Madro
  • 39
  • 1
  • 7
  • Although there is a solution that works that I provided in my answer, it is a bit clunky. It would be a nice RFE to be able to specify on the appliance a default user to transfer ownership of orgs for orphaned orgs. That, or allows appliance admins to directly control org membership – Al Neill May 03 '18 at 13:36

1 Answers1

3

Yes, there is but , assuming you are unable to assume the id of the person who left because they are suspended, it requires access to the admin shell.

ghe-org-admin-promote will make any github admin an admin of the org . If you dont give a user it will add ALL the github admins, which probably is not what you want to do. (since you have to be admin on the shell, it doesn't know what your github user is by default)

Al Neill
  • 589
  • 4
  • 5