Pecan: policy evaluation error can trigger 500 response
Bug #1505831 reported by
Salvatore Orlando
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Salvatore Orlando |
Bug Description
in [1] if policy_method == enforce an PolicyNotAuthor
However, the exception translation hook is not called, most likely because the on_error hook is not installed on other policy hooks.
This might be logical and should therefore not be considered a pecan bug.
The policy hook should take this into account and handle the exception.
Changed in neutron: | |
importance: | Undecided → Low |
tags: | added: api |
Changed in neutron: | |
milestone: | mitaka-1 → mitaka-2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/234457
Review: https:/