2016-07-07 3 views
1

私はgitlabリポジトリをホストしています。私はコードを公開したくはありませんが、私はベータテスターのためにすばらしい発券システムを使用したいと思います。Gitlabで問題を表示しながらコードを隠す

問題を作成/コメントすることはできますが、ソースコードを見る権利はありませんか?

答えて

1

まあ、Guestは、あなたが探しているもの(臆面もなくGitlab Permissions.md fileから盗まれた)されているようです:

| Action        | Guest | Reporter | Developer | Master | Owner | 
|---------------------------------------|---------|------------|-------------|----------|--------| 
| Create new issue      | ✓ [^1] | ✓   | ✓   | ✓  | ✓  | 
| Create confidential issue    | ✓ [^1] | ✓   | ✓   | ✓  | ✓  | 
| View confidential issues    | (✓) [^2] | ✓   | ✓   | ✓  | ✓  | 
| Leave comments      | ✓ [^1] | ✓   | ✓   | ✓  | ✓  | 
| See a list of jobs     | ✓ [^3] | ✓   | ✓   | ✓  | ✓  | 
| See a job log      | ✓ [^3] | ✓   | ✓   | ✓  | ✓  | 
| Download and browse job artifacts  | ✓ [^3] | ✓   | ✓   | ✓  | ✓  | 
| View wiki pages      | ✓ [^1] | ✓   | ✓   | ✓  | ✓  | 
| Pull project code      | [^1] | ✓   | ✓   | ✓  | ✓  | 
| Download project      | [^1] | ✓   | ✓   | ✓  | ✓  | 
| Create code snippets     |   | ✓   | ✓   | ✓  | ✓  | 
| Manage issue tracker     |   | ✓   | ✓   | ✓  | ✓  | 
| Manage labels       |   | ✓   | ✓   | ✓  | ✓  | 
| See a commit status     |   | ✓   | ✓   | ✓  | ✓  | 
| See a container registry    |   | ✓   | ✓   | ✓  | ✓  | 
| See environments      |   | ✓   | ✓   | ✓  | ✓  | 
| Create new environments    |   |   | ✓   | ✓  | ✓  | 
| Use environment terminals    |   |   |    | ✓  | ✓  | 
| Stop environments      |   |   | ✓   | ✓  | ✓  | 
| See a list of merge requests   |   | ✓   | ✓   | ✓  | ✓  | 
| Manage/Accept merge requests   |   |   | ✓   | ✓  | ✓  | 
| Create new merge request    |   |   | ✓   | ✓  | ✓  | 
| Create new branches     |   |   | ✓   | ✓  | ✓  | 
| Push to non-protected branches  |   |   | ✓   | ✓  | ✓  | 
| Force push to non-protected branches |   |   | ✓   | ✓  | ✓  | 
| Remove non-protected branches   |   |   | ✓   | ✓  | ✓  | 
| Add tags        |   |   | ✓   | ✓  | ✓  | 
| Write a wiki       |   |   | ✓   | ✓  | ✓  | 
| Cancel and retry jobs     |   |   | ✓   | ✓  | ✓  | 
| Create or update commit status  |   |   | ✓   | ✓  | ✓  | 
| Update a container registry   |   |   | ✓   | ✓  | ✓  | 
| Remove a container registry image  |   |   | ✓   | ✓  | ✓  | 
| Create new milestones     |   |   |    | ✓  | ✓  | 
| Add new team members     |   |   |    | ✓  | ✓  | 
| Push to protected branches   |   |   |    | ✓  | ✓  | 
| Enable/disable branch protection  |   |   |    | ✓  | ✓  | 
| Turn on/off protected branch push for devs|   |   |    | ✓  | ✓  | 
| Enable/disable tag protections  |   |   |    | ✓  | ✓  | 
| Rewrite/remove Git tags    |   |   |    | ✓  | ✓  | 
| Edit project       |   |   |    | ✓  | ✓  | 
| Add deploy keys to project   |   |   |    | ✓  | ✓  | 
| Configure project hooks    |   |   |    | ✓  | ✓  | 
| Manage runners      |   |   |    | ✓  | ✓  | 
| Manage job triggers     |   |   |    | ✓  | ✓  | 
| Manage variables      |   |   |    | ✓  | ✓  | 
| Manage pages       |   |   |    | ✓  | ✓  | 
| Manage pages domains and certificates |   |   |    | ✓  | ✓  | 
| Switch visibility level    |   |   |    |   | ✓  | 
| Transfer project to another namespace |   |   |    |   | ✓  | 
| Remove project      |   |   |    |   | ✓  | 
| Force push to protected branches [^4] |   |   |    |   |  | 
| Remove protected branches [^4]  |   |   |    |   |  | 
| Remove pages       |   |   |    |   | ✓  | 

[^1]: If **Allow guest to access builds** is enabled in CI settings 
[^2]: Not allowed for Guest, Reporter, Developer, Master, or Owner 

あなたはまた述べKeeping your code protectedを見てとることができます。

を我々の経験ではこれはほぼすべてのケースを網羅しており、どの組織にも簡単に取り付けることができます。

  • ユーザーレビュー - コードへのアクセスなし

  • レポーター - リポジトリへの読み込み/書き込み

  • マスター - - 読み取り/に書き込むリポジトリ

  • Developerを読みますリポジトリ+部分管理機能

  • 所有者 - リポジトリ+完全な管理能力

+0

への読み取り/書き込みは、彼らが記事を「あなたのコードの保護の維持」掲示するので、レポーターの役割を管理する能力を得たことをアドバイスすること(すなわち、アドミニストレーター)の問題とラベルのため、記事の種類が表と矛盾しています (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/908) –

+0

@ Osman-pashaありがとう –

関連する問題