aodh/ceilometer/api/v1
Angus Salkeld d88a3097ae Do the same auth checks in the v2 API as in the v1 API
- Don't limit access to admin.
- Reuse the get_limit_to_project() function from v1/acl.py

This requires some patches to wsme to fix the Response status (so we
can set it to a 401). We don't have this yet, so I am posting an
interim patch. Once we have the next version of wsme I'll fix the
status_code that is returned (see the TODO comments).

Change-Id: Ib39f045b3f9c4ff1f851e13d528fd117aed45c34
2013-05-10 21:19:02 +10:00
..
static Move v1 API files into a subdirectory 2012-12-04 12:08:13 -05:00
templates Fixed the TemplateNotFound error in v1 api. 2013-01-31 00:31:14 +08:00
__init__.py Move v1 API files into a subdirectory 2012-12-04 12:08:13 -05:00
app.py Make HACKING compliant 2013-03-07 19:02:01 -04:00
blueprint.py Do the same auth checks in the v2 API as in the v1 API 2013-05-10 21:19:02 +10:00