Added the meetecho access api key to the list of personal API keys available through the Personal API GUI, and removed a secretariat-only key from the list.

- Legacy-Id: 17633
This commit is contained in:
Henrik Levkowetz 2020-04-15 12:04:39 +00:00
parent e01cc95f15
commit 2d1685868d

View file

@ -330,8 +330,10 @@ def salt():
# Manual maintenance: List all endpoints that use @require_api_key here # Manual maintenance: List all endpoints that use @require_api_key here
PERSON_API_KEY_ENDPOINTS = [ PERSON_API_KEY_ENDPOINTS = [
("/api/iesg/position", "/api/iesg/position"), ("/api/iesg/position", "/api/iesg/position"),
("/api/v2/person/person", "/api/v2/person/person"), # This requires secretariat role, and need not be listed generally:
# ("/api/v2/person/person", "/api/v2/person/person"),
("/api/meeting/session/video/url", "/api/meeting/session/video/url"), ("/api/meeting/session/video/url", "/api/meeting/session/video/url"),
("/api/v2/person/access/meetecho", "/api/v2/person/access/meetecho"),
] ]
@python_2_unicode_compatible @python_2_unicode_compatible