diff options
author | Pierre Tardy <tardyp@gmail.com> | 2019-06-14 11:57:58 +0300 |
---|---|---|
committer | Pierre Tardy <tardyp@gmail.com> | 2019-06-14 11:57:58 +0300 |
commit | 290e4596136f41f3b13f4845b4d1aace5c9fe723 (patch) | |
tree | 0805f52c51106664e613dd6599a1da3b93217d71 /config | |
parent | 72b107a5fc11f2c982273ee932cba94fe9f1aa58 (diff) |
read_repository scope can be used for API
as per documentation https://docs.gitlab.com/ee/api/repository_files.html
You can use read_repository to access repository_file API.
Not sure about write_repository as it is new and not documented in that page.
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/doorkeeper.en.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/locales/doorkeeper.en.yml b/config/locales/doorkeeper.en.yml index 23bbc9f4035..ea54dbb2304 100644 --- a/config/locales/doorkeeper.en.yml +++ b/config/locales/doorkeeper.en.yml @@ -73,7 +73,7 @@ en: read_user: Grants read-only access to the authenticated user's profile through the /user API endpoint, which includes username, public email, and full name. Also grants access to read-only API endpoints under /users. read_repository: - Grants read-only access to repositories on private projects using Git-over-HTTP (not using the API). + Grants read-only access to repositories on private projects using Git-over-HTTP (and using repository_file API). write_repository: Grants read-write access to repositories on private projects using Git-over-HTTP (not using the API). read_registry: |