Skip to main content

このバージョンの GitHub Enterprise はこの日付をもって終了となりました: 2023-01-18. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの向上、新機能の向上を図るために、最新バージョンの GitHub Enterprise にアップグレードします。 アップグレードに関するヘルプについては、GitHub Enterprise サポートにお問い合わせく� さい

Managing team access to an organization repository

You can give a team access to a repository, remove a team's access to a repository, or change a team's permission level for a repository.

People with admin access to a repository can manage team access to the repository. Team maintainers can remove a team's access to a repository if the team has direct access to it. If the team's access to the repository is inherited from a parent team, maintainers can choose to reset the current permission to match the parent team's permission.

Warnings:

  • You can change a team's permission level if the team has direct access to a repository. If the team's access to the repository is inherited from a parent team, you must change the parent team's access to the repository.
  • If you add or remove repository access for a parent team, each of that parent's child teams will also receive or lose access to the repository. For more information, see "About teams."

Giving a team access to a repository

  1. GitHub Enterprise Server の右上隅にあるプロファイル写真をクリックし、 [自分の Organization] をクリックします。 プロファイル メニューの組織
  2. Organizationの名前をクリックしてく� さい。 Organization のリスト内の Organization 名
  3. 組織名の下で、 [Teams] をクリックします。 [Teams] タブ
  4. Teamsタブで、Teamの名前をクリックしてく� さい。 Organization の Team のリスト
  5. Team メンバーのリストの上にある [リポジトリ] をクリックします。 Team の [リポジトリ] タブ
  6. Above the list of repositories, click Add repository. The Add repository button
  7. Type the name of a repository, then click Add repository to team. Repository search field
  8. Optionally, to the right of the repository name, use the drop-down menu and choose a different permission level for the team. Repository access level dropdown

Removing a team's access to a repository

You can remove a team's access to a repository if the team has direct access to a repository. If a team's access to the repository is inherited from a parent team, you must remove the repository from the parent team in order to remove the repository from child teams.

警告:

  • プライベートリポジトリへの個人のアクセス権を削除すると、そのプライベートリポジトリからその人が作成したフォークはすべて削除されます。 プライベートリポジトリのローカルクローンは残ります。 プライベート リポジトリへの Team のアクセス権が削除されたり、プライベート リポジトリへのアクセス権を持つ Team が削除されたりしていることに� え、他の Team 経由でのそのリポジトリへのアクセス権を Team のメンバーが持っていなければ、そのリポジトリのプライベート フォークは削除されます。

  • LDAP Sync が有効になっていると、ある人がリポジトリから削除された� �合、その人はアクセス権を失いますが、その人のフォークは削除されません。 元々のOrganizationのリポジトリへのアクセスできるように3ヶ月以内にその人がTeamに追� されたなら、次回の同期の際にフォークへのアクセスは自動的に回復されます。

  • リポジトリへのアクセスを失った個人に、機密情� �や知的財産を確実に削除してもらうのは、あなたの責任です。

  • プライベート または内部 リポジトリへの管理アクセス許可を持つユーザーは、そのリポジトリのフォークを禁止することができます。また、Organization 所有者は、Organization 内でのプライベート または内部 リポジトリのフォークを禁止することができます。 詳細については、「Organization のフォーク ポリシーを管理する」および「リポジトリのフォーク ポリシーを管理する」を参照してく� さい。

  1. GitHub Enterprise Server の右上隅にあるプロファイル写真をクリックし、 [自分の Organization] をクリックします。 プロファイル メニューの組織
  2. Organizationの名前をクリックしてく� さい。 Organization のリスト内の Organization 名
  3. 組織名の下で、 [Teams] をクリックします。 [Teams] タブ
  4. Teamsタブで、Teamの名前をクリックしてく� さい。 Organization の Team のリスト
  5. Team メンバーのリストの上にある [リポジトリ] をクリックします。 Team の [リポジトリ] タブ
  6. Select the repository or repositories you'd like to remove from the team. List of team repositories with the checkboxes for some repositories selected
  7. Above the list of repositories, use the drop-down menu, and click Remove from team. Drop-down menu with the option to remove a repository from a team
  8. Review the repository or repositories that will be removed from the team, then click Remove repositories. Modal box with a list of repositories that the team will no longer have access to

Further reading