neutron/neutron
Salvatore Orlando 24b482ac15 Scope get_tenant_quotas by tenant_id
Using model_query in the operation for retrieving tenant limits
will spare the need for explicit authorization check in the
quota controller. This is particularly relevant for the pecan
framework where every Neutron API call undergoes authZ checks
in the same pecan hook.

This patch will automatically adapt by eventuals changes
introducing "un-scoped" contexts.

Closes-bug: #1505406

Change-Id: I6952f5c85cd7fb0263789f768d23de3fe80b8183
2016-01-13 14:56:18 +00:00
..
agent Merge "Fix uuid passing in disable_isolated_metadata_proxy" 2016-01-09 04:24:34 +00:00
api Merge "Pecan: Streamline request body processing" 2016-01-12 01:11:13 +00:00
callbacks Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
cmd Check missed ip6tables utility 2016-01-04 19:19:56 +08:00
common Merge "DVR: optimize check_ports_exist_on_l3_agent()" 2016-01-11 14:34:16 +00:00
core_extensions Forbid attaching rules if policy isn't accessible 2015-08-12 09:52:33 +00:00
db Scope get_tenant_quotas by tenant_id 2016-01-13 14:56:18 +00:00
debug Make neutron-debug command follow cliff command convention 2016-01-09 03:38:19 +09:00
extensions Merge "Wrong usage of "a"" 2015-12-30 20:15:01 +00:00
hacking Unify assertEqual for empty usages 2016-01-07 10:06:35 +00:00
ipam Remove references to model_base through models_v2 2016-01-06 16:12:29 -07:00
locale Imported Translations from Zanata 2016-01-06 06:29:46 +00:00
notifiers Add option for nova endpoint type 2015-12-10 08:40:36 +00:00
objects Add test for Neutron object versions 2016-01-06 10:34:03 +00:00
openstack Remove openstack.common._i18n from Neutron 2016-01-04 17:58:46 +00:00
pecan_wsgi Pecan: Streamline request body processing 2016-01-11 04:07:34 -08:00
plugins Merge "Log INFO message when setting admin state up flag to False for OVS port" 2016-01-13 02:52:19 +00:00
quota ML2: Add tests to validate quota usage tracking 2015-12-09 15:17:23 -08:00
scheduler Don't call add_ha_port inside a transaction 2015-12-24 09:55:06 -08:00
server Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
services Fix meter label rule creation 2016-01-06 14:08:07 +00:00
tests Scope get_tenant_quotas by tenant_id 2016-01-13 14:56:18 +00:00
__init__.py Deprecate _ builtin translation function 2015-12-06 19:39:20 +09:00
_i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
auth.py Consume ConfigurableMiddleware from oslo_middleware 2015-10-08 17:59:43 +00:00
context.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
manager.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
neutron_plugin_base_v2.py Fix misspelled word in docstring 2015-11-20 17:08:47 +00:00
opts.py Use keystoneauth instead of keystoneclient 2015-12-06 15:09:42 +00:00
policy.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
service.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
version.py
worker.py Some minor misspellings in comment block. 2015-11-24 00:01:21 -06:00
wsgi.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00