Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Setting permissions for deleting or transferring repositories

You can allow organization members with admin permissions to a repository to delete or transfer the repository, or limit the ability to delete or transfer repositories to organization owners only.

Owners can set permissions for deleting or transferring repositories in an organization.

Limiting the ability to delete or transfer repositories helps prevent sensitive information from being exposed. For more information, see "Best practices for preventing data leaks in your organization."

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
  2. Next to the organization, click Settings.
  3. In the "Access" section of the sidebar, click Member privileges.
  4. Under "Repository deletion and transfer", select or deselect Allow members to delete or transfer repositories for this organization.
  5. Click Save.