Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling for KPI Dashboard of API Manager if CanGetConsumers, CanGetAnyUser is not present #65

Open
karmaking opened this issue Nov 1, 2018 · 2 comments
Assignees
Labels

Comments

@karmaking
Copy link
Contributor

To access the KPI Dashboard of the API Manager, the roles CanGetConsumers and CanGetAnyUser are required. Error handling does not work for this: If these roles are not given, "Internal Server Error (500)" is displayed and Gunicorn will throw an error in the logs.

@karmaking karmaking changed the title Error handling for KPI Dashboard of API Manager requires CanGetConsumers, CanGetAnyUser Error handling for KPI Dashboard of API Manager if CanGetConsumers, CanGetAnyUser is not present Nov 1, 2018
@simonredfern
Copy link
Member

Also need to check for all other Roles. e.g. CanReadAggregateMetrics

PengfeiLi0218 added a commit to PengfeiLi0218/API-Manager that referenced this issue Jan 28, 2019
simonredfern added a commit that referenced this issue Jan 28, 2019
Error handling for KPI Dashboard of API Manager #65
PengfeiLi0218 added a commit to PengfeiLi0218/API-Manager that referenced this issue Jan 28, 2019
PengfeiLi0218 added a commit to PengfeiLi0218/API-Manager that referenced this issue Jan 28, 2019
PengfeiLi0218 added a commit to PengfeiLi0218/API-Manager that referenced this issue Jan 29, 2019
@simonredfern
Copy link
Member

if don't have the role CanGetAnyUser then the Users page is just empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants