Rodolfo Alonso Hernandez f9b91289a5 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
      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.

Closes-Bug: #2037002
Change-Id: I9f3e032739824f268db74c5a1b4f04d353742dbd
2023-10-14 15:41:06 +00:00
..
2014-04-01 10:38:31 -04:00
2020-05-21 14:41:18 -04:00
2017-10-20 16:38:33 -06:00
2020-05-21 14:41:18 -04:00
2021-07-13 15:13:29 +08:00
2017-11-02 13:11:25 -06:00
2020-05-21 14:41:18 -04:00
2021-11-11 10:08:23 +03:00
2020-05-21 14:41:18 -04:00
2017-11-14 14:47:47 -07:00
2023-08-25 08:43:37 +00:00
2023-05-09 11:49:17 +02:00
2022-07-01 17:52:59 -04:00
2021-10-27 12:33:18 +00:00