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 Add support to group labels on issues board API 2016-10-19 14:58:26 -02:00
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 Use declared_params helper in API 2016-11-14 15:22:06 +01:00
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 Fix POST /internal/allowed to cope with gitlab-shell v4.0.0 project paths 2016-11-16 14:30:56 +00:00
issues.rb Grapify the issues API 2016-12-07 10:19:28 +01:00
keys.rb GrapeDSL for Keys endpoint 2016-10-01 11:11:41 +02:00
labels.rb Use declared_params helper in API 2016-11-14 15:22:06 +01:00
lint.rb Improve curl commend, remove blank lines 2016-09-07 12:54:02 +02:00
members.rb Use the pagination helper in the API 2016-12-04 18:11:19 +01:00
merge_request_diffs.rb Add single merge request diff API endpoint 2016-08-12 14:44:49 +03:00
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 Use declared_params helper in API 2016-11-14 15:22:06 +01:00
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 Allow multiple repository storage shards to be enabled, and automatically round-robin between them 2016-11-04 04:01:08 +00:00
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 Pass project to Entities::Label to check if user is subscribed 2016-11-17 15:10:13 -02:00
system_hooks.rb Use declared_params helper in API 2016-11-14 15:22:06 +01:00
tags.rb Allow public access to some Tag API endpoints 2016-12-07 11:39:11 +01:00
templates.rb Create a new /templates API namespace 2016-10-12 11:09:41 +02:00
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 API: Version information 2016-10-12 16:47:35 +02:00