monasca-log-api/etc/monasca
Witold Bedyk 7d40e5d5c2 Fix default policy rules registration
The constants used for configuring default policy rules were initialized
before configuration file was parsed. As the result the configuration
options in 'roles_middleware' group didn't have effect on registered
policy rules. The behavior can be reproduced in devstack plugin where
monasca-log-agent using 'monasca-agent' role is not authorized to send
logs to the API.

The change postpones the initilization of these constants. Additionally
obsolete 'roles' filter was removed from the paste pipelines.

Change-Id: I0ca38f2cc7d63b9b47eedb304ba7b00a94816f9a
Story: 2001233
Task: 24250
2018-08-03 10:29:06 +02:00
..
log-api-logging.conf Enable UWSGI support in monasca-log-api 2018-01-16 14:36:45 +01:00
log-api-paste.ini Fix default policy rules registration 2018-08-03 10:29:06 +02:00
log-api-uwsgi.ini Enable UWSGI support in monasca-log-api 2018-01-16 14:36:45 +01:00