ceilometer/ceilometer/api
ZhiQiang Fan 5d0853567f Fix project authorization check
Currently, project authorization check in _verify_query_segregation
only checks query field 'project_id', so normal user can pass the check
with query field 'project'. And the check also checks query operator, which
seems not right, because user will get 401 when project is his own but with
wrong operator, 400 wrong operator can be more precise.

This patch adds project field check and remove the operator check which can
be done in _validate_query.

Change-Id: I82439e4c02afd04d26ab5d419ef67bde1f4aa1ca
Closes-Bug: #1322111
2014-05-24 01:35:25 +08:00
..
controllers Fix project authorization check 2014-05-24 01:35:25 +08:00
__init__.py Disable reverse dns lookup 2014-04-23 10:18:19 +08:00
acl.py Replace hard coded WSGI application creation 2014-04-24 11:26:27 -06:00
app.py Drop deprecated api v1 2014-05-18 16:17:01 +02:00
app.wsgi Replace hard coded WSGI application creation 2014-04-24 11:26:27 -06:00
config.py Move enable_acl and debug config to ceilometer.conf 2014-01-21 17:40:17 +01:00
hooks.py Decouple source and sink configuration for pipelines 2014-03-04 07:35:18 +00:00
middleware.py Remove "# noqa" leftovers for gettextutils._ 2014-04-28 19:12:25 +04:00