816ccb35b4
policy.init() is called in the before hook, but this isn't
invoked on GET calls so if the first call a thread receives
is a GET call, we can end up with an uninitialized policy
enforcer and get a traceback.
This just calls policy.init() in the after hook as well.
Change-Id: I29ebc9a91b98a27e707d5b35ad1a24a26e8c8f44
Closes-Bug: #1671267
(cherry picked from commit
|
||
---|---|---|
.. | ||
controllers | ||
hooks | ||
__init__.py | ||
app.py | ||
constants.py | ||
startup.py |