ba37ea3227
This includes a change to catch Forbidden and convert to NotFound. The previous Forbidden handler was not only correct (it shoud hide the permissions error with "not found") but it was actually dead code, since the DB was performing its own checks and would never raise Forbidden. This also includes a change of the default policy for get_images to include the other states, like get_image does. I think this was just an oversight in the original RBAC patches, which didn't matter because they weren't really being honored strictly. Partially implements: blueprint policy-refactor Change-Id: I70100cd7f01da803e9740cea1f7ce7ae18ad6919 |
||
---|---|---|
.. | ||
api | ||
async_ | ||
cmd | ||
common | ||
db | ||
domain | ||
hacking | ||
image_cache | ||
locale | ||
policies | ||
quota | ||
tests | ||
__init__.py | ||
context.py | ||
gateway.py | ||
housekeeping.py | ||
i18n.py | ||
location.py | ||
notifier.py | ||
opts.py | ||
schema.py | ||
scrubber.py | ||
version.py |