neutron/neutron/conf/policies
Slawek Kaplonski a6b55d760b 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.

Change-Id: I09114712582d2d38d14cf1683b87a8ce3a8e8c3c
Closes-Bug: #1824248
2019-12-04 20:44:05 +00:00
..
__init__.py Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
address_scope.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
agent.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
auto_allocated_topology.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
availability_zone.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
base.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
flavor.py Add policy config for get_flavor_service_profile operation 2019-10-12 08:20:50 +00:00
floatingip.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
floatingip_pools.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
floatingip_port_forwarding.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
l3_conntrack_helper.py Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
logging.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
metering.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
network.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
network_ip_availability.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
network_segment_range.py Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00
port.py Fix creating policy rules from subattributes. 2019-05-04 19:19:53 +02:00
qos.py Define qos-rules-alias extension 2019-03-21 15:06:10 +00:00
rbac.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
router.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
security_group.py List SG rules which belongs to tenant's SG 2019-12-04 20:44:05 +00:00
segment.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
service_type.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
subnet.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
subnetpool.py Implement subnetpool prefix operations 2019-07-01 14:22:51 +00:00
trunk.py doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00