リポジトリに対して管理者権限がある人は、リポジトリへのチームアクセスを管理できます。 チームメンテナは、リポジトリへのチームアクセスを削除できます。
警告:
- チームがリポジトリに直接アクセスできる場合は、チームの権限レベルを変更できます。 リポジトリへのチームのアクセスが親チームから継承される場合は、リポジトリへの親チームのアクセスを変更する必要があります。
- 親チームのリポジトリへのアクセスを追加または削除すると、その親の子チームそれぞれでも、同じリポジトリへのアクセスが追加または削除されます。 詳しい情報についてはTeam についてを参照してください。
リポジトリへのアクセスをチームに付与する
- In the top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations.
- Click the name of your organization.
- Organization 名の下で、クリックします
Teams.
- Teamsタブで、Teamの名前をクリックしてください。
- Teamメンバーのリストの上で、 Repositories(リポジトリ)をクリックしてください。
- リポジトリ リストの上にある [Add repository] をクリックします。
- リポジトリの名前を入力して、[Add repository to team] をクリックします。
- オプションで、リポジトリ名の右にあるドロップダウンメニューを使って、チームの権限レベルを変更することもできます
リポジトリへのチームのアクセスを削除する
チームがリポジトリに直接アクセスできる場合は、リポジトリへのチームのアクセスを削除できます。 リポジトリへのチームのアクセスが親チームから継承される場合、子チームからリポジトリを削除するには親チームからリポジトリを削除する必要があります。
Warning:
-
If you remove a person’s access to a private repository, any of their forks of that private repository are deleted. Local clones of the private repository are retained. If a team's access to a private repository is revoked or a team with access to a private repository is deleted, and team members do not have access to the repository through another team, private forks of the repository will be deleted.
-
When LDAP Sync is enabled, if you remove a person from a repository, they will lose access but their forks will not be deleted. If the person is added to a team with access to the original organization repository within three months, their access to the forks will be automatically restored on the next sync.
-
You are responsible for ensuring that people who have lost access to a repository delete any confidential information or intellectual property.
-
People with admin permissions to a private or internal repository can disallow forking of that repository, and organization owners can disallow forking of any private or internal repository in an organization. For more information, see "Managing the forking policy for your organization" and "Managing the forking policy for your repository."
- In the top right corner of GitHub Enterprise Server, click your profile photo, then click Your organizations.
- Click the name of your organization.
- Organization 名の下で、クリックします
Teams.
- Teamsタブで、Teamの名前をクリックしてください。
- Teamメンバーのリストの上で、 Repositories(リポジトリ)をクリックしてください。
- チームから削除するリポジトリ (複数選択も可) を選択します。
- リポジトリ リストの上にあるドロップダウン メニューで、[Remove from team] をクリックします。
- チームから削除されるリポジトリをレビューし、[Remove repositories] をクリックします。