コードへのアクセスを制御する
Bitbucket Data Center and Server provides the following types of permissions to allow fully customizable control of access to code.
次のことも可能です。
- プロジェクトおよびリポジトリへのパブリック (匿名) アクセスを許可します。「コードへのパブリック アクセスを許可する」を参照してください。
- use SSH keys to allow user accounts and other systems to connect securely to Bitbucket repositories for Git operations. See Using SSH keys to secure Git operations.
グローバル権限
Control user and group access to Bitbucket projects and to the Bitbucket instance configuration. For example, these can be used to control the number of user accounts that can access Bitbucket for licensing purposes.
「グローバル権限」を参照してください。
プロジェクト権限
プロジェクト内のすべてのリポジトリに同じアクセス権限を適用します。たとえば、これらを使用してプロジェクトのコア開発チームを定義できます。
詳細は、「プロジェクト権限の使用」を参照してください。
リポジトリ権限
特定のリポジトリへのアクセス権を、コアユーザー以外に拡張します。たとえば、外部の開発者やコンサルタントに対し、特定のタスクや作業のためにアクセスを許可するために使用できます。
詳細は、「リポジトリ権限の使用」を参照してください。
ブランチの権限
リポジトリで特定のブランチへのコミットを制御します。たとえば、リリース ブランチへのマージを制御する必要があるリリース マネージャーなどにワークフロー ロールを適用できます。
詳細は、「ブランチ権限の使用」を参照してください。
権限マトリクス
以下のテーブルは、匿のユーザーとログイン済みユーザーに対する、上述の権限の累積的な影響についてまとめたものです。一般に、リポジトリ権限はプロジェクト権限をオーバーライドします。個人プロジェクトを公開することはできません。
キー
権限 | 効果 |
---|---|
参照 | リポジトリ ファイルを表示、クローン、ローカルにプル可能 |
対象ページ | プル リクエストを参照、クローン、プル、作成、個人プロジェクトにフォーク可能 |
書き込み | プル リクエストをマージ可能 |
Create repository | Can create repositories in a project and become repository admins for the repos they create |
管理 | 設定および権限を編集可能 |
グローバル (ログイン済み) | プロジェクト | リポジトリ | ブランチ | 有効化される権限 |
---|---|---|---|---|
個人 | 個人 | N/A | アクセスなし | |
個人 | パブリック アクセス | N/A | Browse just that repo | |
アクセスなし | アクセスなし | N/A | アクセスなし | |
アクセスなし | パブリック アクセス | N/A | Browse just that repo | |
パブリック アクセス | パブリック アクセス | N/A | Browse all repos in project | |
個人 | 個人 | N/A | アクセスなし | |
個人 | パブリック アクセス | N/A | Read just that repo | |
アクセスなし | アクセスなし | N/A | アクセスなし | |
アクセスなし | パブリック アクセス | N/A | Read just that repo | |
パブリック アクセス | アクセスなし | N/A | Read all repos in project | |
パブリック アクセス | パブリック アクセス | N/A | 対象ページ | |
パブリック アクセス | パブリック アクセス | 対象のユーザー | Read that branch, no Write | |
アクセスなし | 対象ページ | N/A | Read just that repo | |
パブリック アクセス | 対象ページ | N/A | Read just that repo | |
対象ページ | アクセスなし | N/A | Read all repos in project | |
対象ページ | パブリック アクセス | N/A | Read all repos in project | |
対象ページ | 対象ページ | N/A | Read all repos in project | |
対象ページ | アクセスなし | 対象のユーザー | Read that branch, no Write | |
アクセスなし | 書き込み | N/A | Write just that repo | |
パブリック アクセス | 書き込み | N/A | Write just that repo | |
書き込み | アクセスなし | N/A | Write all repos in project | |
書き込み | 書き込み | N/A | Write all repos in project | |
書き込み | 書き込み | 他のユーザー | Write to other branches only | |
Create repository | アクセスなし | N/A | Write all repos and create new repos in project. Users become admins of the repositories they create. | |
Create repository | 書き込み | N/A | Write all repos and create new repos in project. Users become admins of the repositories they create. | |
Create repository | 書き込み | 他のユーザー | Write to other branches only and create new repos in project. Users become admins of the repositories they create. | |
管理 | 設定と権限を編集可能 |