Branch: refs/heads/HWKMETRICS-460
Home:
https://github.com/hawkular/hawkular-metrics
Commit: 2ebacb3cc1491eca49385f32ba7f2b7ed72c878c
https://github.com/hawkular/hawkular-metrics/commit/2ebacb3cc1491eca49385...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2016-08-18 (Thu, 18 Aug 2016)
Changed paths:
M
containers/hawkular-metrics-openshift-integration/src/main/java/org/hawkular/openshift/auth/TokenAuthenticator.java
Log Message:
-----------
[HWKMETRICS-460] Allow rate queries for read-only users
The POST endpoint /counters/rate/query is used to read data, it should be authorized for
read-only users (similar to /counters/raw/query)
(cherry picked from commit 7082face66026ad6eb4d3cafc24b0ebd4bf4f065)
Signed-off-by: Stefan Negrea <snegrea(a)redhat.com>