neutron/neutron/tests/etc
Slawek Kaplonski 993a344559 List SG rules which belongs to tenant's SG
In case when user's security group contains rules created e.g.
by admin, and such rules has got admin's tenant as tenant_id,
owner of security group should be able to see those rules.
Some time ago this was addressed for request:

GET /v2.0/security-groups/<sec_group_id>

But it is also required to behave in same way for

GET /v2.0/security-group-rules

So this patch fixes this behaviour for listing of security
group rules.
To achieve that this patch also adds new policy rule:
ADMIN_OWNER_OR_SG_OWNER which is similar to already existing
ADMIN_OWNER_OR_NETWORK_OWNER used e.g. for listing or creating
ports.

Conflicts:
    neutron/conf/policies/security_group.py

Change-Id: I09114712582d2d38d14cf1683b87a8ce3a8e8c3c
Closes-Bug: #1824248
(cherry picked from commit b898d2e3c0)
2020-01-29 08:04:16 +00:00
..
api-paste.ini Remove dead versions code 2017-09-19 14:54:33 -07:00
api-paste.ini.test Reorganize unit test tree 2015-04-06 23:28:31 +00:00
neutron.conf Stop extension warnings in UTs 2017-04-20 10:03:26 +00:00
neutron_test.conf Get rid of ConfigParser code in ProviderConfiguration 2015-09-21 10:55:56 -07:00
neutron_test2.conf.example Adopt to config_dir option being a list and not a string 2016-05-26 13:04:57 +02:00
policy.json List SG rules which belongs to tenant's SG 2020-01-29 08:04:16 +00:00