diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-05 02:43:41 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-04-07 05:20:16 +0300 |
commit | 171b2625b128e5954ce0a150a4fc923a22164e4e (patch) | |
tree | 834586c27477a404e71fe2fac9d17ecf3e495e58 /doc/user/project/deploy_tokens/index.md | |
parent | 7deab3172257bef7818ce834c1e0709432ddd5e0 (diff) |
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/user/project/deploy_tokens/index.md')
-rw-r--r-- | doc/user/project/deploy_tokens/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
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: |