diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-04 18:43:41 -0500 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-06 21:20:16 -0500 |
commit | 171b2625b128e5954ce0a150a4fc923a22164e4e (patch) | |
tree | 834586c27477a404e71fe2fac9d17ecf3e495e58 /doc | |
parent | 7deab3172257bef7818ce834c1e0709432ddd5e0 (diff) | |
download | gitlab-ce-171b2625b128e5954ce0a150a4fc923a22164e4e.tar.gz |
Addreses backend review suggestions
- Remove extra method for authorize_admin_project
- Ensure project presence
- Rename 'read_repo' to 'read_repository' to be more verbose
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/deploy_tokens/img/deploy_tokens.png | bin | 73260 -> 75650 bytes | |||
-rw-r--r-- | doc/user/project/deploy_tokens/index.md | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/project/deploy_tokens/img/deploy_tokens.png b/doc/user/project/deploy_tokens/img/deploy_tokens.png Binary files differindex 4cf2e5ca612..7e2d67a3120 100644 --- a/doc/user/project/deploy_tokens/img/deploy_tokens.png +++ b/doc/user/project/deploy_tokens/img/deploy_tokens.png diff --git a/doc/user/project/deploy_tokens/index.md b/doc/user/project/deploy_tokens/index.md index 15bf6170b12..44e95bbcda0 100644 --- a/doc/user/project/deploy_tokens/index.md +++ b/doc/user/project/deploy_tokens/index.md @@ -36,7 +36,7 @@ the following table. | Scope | Description | | ----- | ----------- | -|`read_repo` | Allows read-access to the repository through `git clone` | +|`read_repository` | Allows read-access to the repository through `git clone` | | `read_registry` | Allows read-access to [container registry] images if a project is private and authorization is required. | ## Usage @@ -45,7 +45,7 @@ the following table. To download a repository using a Deploy Token, you just need to: -1. Create a Deploy Token with `read_repo` as a scope. +1. Create a Deploy Token with `read_repository` as a scope. 2. `git clone` the project using the Deploy Token: |