7d40e5d5c2
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 |
||
---|---|---|
.. | ||
log-api-logging.conf | ||
log-api-paste.ini | ||
log-api-uwsgi.ini |