• Rémy Coutable's avatar
    Merge branch '20492-access-token-scopes' into 'master' · ca6bf62e
    Rémy Coutable authored
    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
    ca6bf62e
schema.rb 53.2 KB