The following resources have been updated with new policies for
tags:
* Port
* Subnet
* Network
* Router
* FloatingIP
* NetworkSegmentRange
* NetworkSegment
* SecurityGroup
* Trunk
* Subnetpool
The admin can now enforce specific policies for the resource tags
for the creation, update and deletion actions.
NOTE: a follow-up patch, with a new Launchpad bug reference, will
be created to move the ``Tagging`` class from ``ExtensionDescriptor`` to ``APIExtensionDescriptor``, and
refactor the ``TaggingController`` to be a standard ``neutron.api.v2.base.Controller``. Any API resource using
the second controller will use the path used by the wsgi
hooks, in particular the policy hook. That will make unnecessary
to manually call the ``policy.enforce`` method from the
extension class methods.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/896509 /opendev. org/openstack/ neutron/ commit/ f9b91289a5c2948 429e69e1b58098c ec846fba99
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f9b91289a5c2948 429e69e1b58098c ec846fba99
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Sep 26 08:03:19 2023 +0000
Add policy enforcer for "tags" service plugin
The following resources have been updated with new policies for
tags:
* Port
* Subnet
* Network
* Router
* FloatingIP
* NetworkSegmentRange
* NetworkSegment
* SecurityGroup
* Trunk
* Subnetpool
The admin can now enforce specific policies for the resource tags
for the creation, update and deletion actions.
NOTE: a follow-up patch, with a new Launchpad bug reference, will
``ExtensionD escriptor` ` to ``APIExtensionD escriptor` `, and ller`` to be a standard
``neutron. api.v2. base.Controller ``. Any API resource using
be created to move the ``Tagging`` class from
refactor the ``TaggingContro
the second controller will use the path used by the wsgi
hooks, in particular the policy hook. That will make unnecessary
to manually call the ``policy.enforce`` method from the
extension class methods.
Closes-Bug: #2037002 268db74c5a1b4f0 4d353742dbd
Change-Id: I9f3e032739824f