gitlab-org--gitlab-foss/lib/api
Rémy Coutable ca6bf62ec1 Merge branch '20492-access-token-scopes' into 'master'
Resolve "Add a doorkeeper scope suitable for authentication"

## What does this MR do?

- Add a single new scope (in addition to the `api` scope we've had) - `read_user`
- Allow creating OAuth applications and Personal access tokens with a scope selected
- Enforce scopes in the API

## What are the relevant issue numbers?

- Closes #20492 
- EE counterpart for this MR: gitlab-org/gitlab-ee!946

See merge request !5951
2016-12-16 17:38:41 +00:00
..
helpers Add an environment slug 2016-12-15 13:57:03 +00:00
access_requests.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
api.rb Calls to the API are checked for scope. 2016-12-16 16:29:31 +05:30
api_guard.rb Convert AccessTokenValidationService into a class. 2016-12-16 16:29:32 +05:30
award_emoji.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
boards.rb
branches.rb Allow branch names with dots on API endpoint 2016-12-08 16:39:56 -02:00
broadcast_messages.rb Define common helper for describe pagination params in api 2016-11-22 09:19:26 +05:00
builds.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
commit_statuses.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
commits.rb API: Ability to cherry-pick a commit 2016-12-13 16:12:40 +01:00
deploy_keys.rb
deployments.rb Define common helper for describe pagination params in api 2016-11-22 09:19:26 +05:00
entities.rb Add an environment slug 2016-12-15 13:57:03 +00:00
environments.rb Add an environment slug 2016-12-15 13:57:03 +00:00
files.rb Grapify the files API 2016-11-30 12:48:10 +01:00
groups.rb API: Ability to get group's project in simple representation 2016-12-13 13:54:36 +01:00
helpers.rb Calls to the API are checked for scope. 2016-12-16 16:29:31 +05:30
internal.rb
issues.rb Grapify the issues API 2016-12-07 10:19:28 +01:00
keys.rb
labels.rb
lint.rb
members.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
merge_request_diffs.rb
merge_requests.rb Don't allow blank MR titles in API 2016-12-13 09:01:48 +01:00
milestones.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
namespaces.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
notes.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
notification_settings.rb
pagination_params.rb Define common helper for describe pagination params in api 2016-11-22 09:19:26 +05:00
pipelines.rb Merge branch '23532-define-common-helper-for-describe-pagination-params-in-api' into 'master' 2016-11-22 15:33:57 +00:00
project_hooks.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
project_snippets.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
projects.rb Allow public access to some Project API endpoints 2016-12-01 16:39:42 +01:00
repositories.rb Grapify the repository API 2016-11-18 10:43:31 +01:00
runners.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
services.rb Change SlackService to SlackNotificationsService 2016-12-15 15:32:49 -02:00
session.rb adds impersonator variable and makes sudo usage overall more clear 2016-12-07 14:42:51 +00:00
settings.rb
sidekiq_metrics.rb Grapify the sidekiq metrics API 2016-11-23 13:36:52 +01:00
snippets.rb API: Endpoint to expose personal snippets as /snippets 2016-12-01 19:07:49 +01:00
subscriptions.rb
system_hooks.rb
tags.rb Allow public access to some Tag API endpoints 2016-12-07 11:39:11 +01:00
templates.rb
todos.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
triggers.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
users.rb Calls to the API are checked for scope. 2016-12-16 16:29:31 +05:30
variables.rb Don't convert data which already is the target type 2016-11-24 13:35:26 +01:00
version.rb