-
Notifications
You must be signed in to change notification settings - Fork 45
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
Adds RBAC filtering #780
Adds RBAC filtering #780
Conversation
aquarius/app/util.py
Outdated
return ( | ||
response.json() | ||
if response.status_code == 200 and response.json() | ||
else query_result |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the status_code
return is not 200, I think we should log a warning.
aquarius/app/util.py
Outdated
|
||
response = requests.post(os.getenv("RBAC_SERVER_URL"), json=payload) | ||
if response.status_code == 200 and response.json(): | ||
return response.json() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the status_code is not 200, then I think we should log a warning.
Code Climate has analyzed commit 096a49e and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 95.4% (0.1% change). View more on Code Climate. |
Closes #779.