Changeset 28198a1 for src/mapservice


Ignore:
Timestamp:
May 8, 2019, 8:25:52 PM (8 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
13cbe66
Parents:
1e7f556
Message:

Changed api so that ApiKeys could only managed if a user has logged in with basic auth and not with an api key. This makes sure, that a stolen api key could not be used to generate new or delete existing api keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice/openapi.yaml

    r1e7f556 r28198a1  
    2525  '/user':
    2626    get:
    27       description: Returns information for a user
     27      description: Returns information of current/authorized user
    2828      tags:
    2929        - users
    … …  
    9191      security:
    9292        - basicAuth: []
    93         - apiKeyAuth: []
    9493      responses:
    9594        '200':
    … …  
    113112      security:
    114113        - basicAuth: []
    115         - apiKeyAuth: []
    116114      parameters:
    117115        - name: api_key
Note: See TracChangeset for help on using the changeset viewer.