cloudkitty/releasenotes/notes/fix-project-id-none-d40df33fc7b7db23.yaml
Luka Peschke af0613f4c6 Fix 500 errors in the API when request context bears no project_id
This fixes 500 errors in the API that appeared when keystone authentication is
enabled, the request contexts bears no project_id, and the user doesn't have
admin rights.

This specific case did lead to badly built filters (with project_id being
None), which induced unexpected behaviour from the storage backend.

Change-Id: I62b416183f7841c4ca3f934022e90751a80b833f
Story: 2006948
Task: 37629
2019-11-26 14:33:39 +01:00

6 lines
177 B
YAML

---
fixes:
- |
The 500 errors happening on some API endpoints when keystone authentication
is enabled and the request context bears no ``project_id`` have been fixed.