neutron/neutron
Slawek Kaplonski e02b66a858 Show all SG rules belong to SG in group's details
If security group contains rule(s) which were created by different
user (admin), owner of this security group should see such rules
even if those rules don't belong to him.

This patch changes to use admin_context to get security group rules
in get_security_group() method to achieve that.

Test to cover such case is added in neutron-tempest-plugin repo.

Conflicts:
    neutron/db/securitygroups_db.py

Change-Id: I890c81bb6eabc5caa620ed4fcc4dc88ebfa6e1b0
Closes-Bug: #1824248
(cherry picked from commit 1920a37a94)
(cherry picked from commit 252d80058c)
2019-05-24 15:16:21 +02:00
..
agent [DHCP] Don't resync network if same port is alredy in cache 2019-05-23 14:25:21 +00:00
api Ensure dvr ha router gateway port binding host 2019-05-16 19:33:08 +00:00
cmd Secure dnsmasq process against external abuse 2019-01-25 13:58:19 +00:00
common Do not call update_device_list in large sets 2019-04-12 20:07:04 +00:00
conf Change default local ovs connection timeout 2019-04-05 17:32:28 +00:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Show all SG rules belong to SG in group's details 2019-05-24 15:16:21 +02:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Improve invalid port ranges error message 2019-03-21 10:18:01 -04:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
locale Imported Translations from Zanata 2018-03-14 06:20:49 +00:00
notifiers use callback payloads for REQUEST/RESPONSE events 2017-12-24 07:27:11 +00:00
objects Use dynamic lazy mode for fetching security group rules 2019-04-30 14:00:38 -06:00
pecan_wsgi Use six.viewkeys instead of dict.keys to avoid py2 to py3 problems 2019-05-21 15:33:05 +00:00
plugins Move subnet postcommit out of transaction for bulk create 2019-04-25 08:18:00 +00:00
privileged Add capabilities for privsep 2018-10-29 11:28:45 +00:00
quota Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
scheduler Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
server Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
services Fix attribute mismatch in router provider update 2019-04-18 20:57:20 +08:00
tests [DHCP] Don't resync network if same port is alredy in cache 2019-05-23 14:25:21 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py Fix handling of network:shared field in policy module 2019-05-10 17:21:57 +00:00
service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00