Debian Codegraph @

releasenotes/notes/fix-tagging-policy-action-names-a59e17308f214600.yaml

raw
1 ---
2 security:
3 - |
4 Fixed a security issue where the tagging controller's single-tag write
5 endpoints (``POST /v2.0/{resource}/{id}/tags`` and
6 ``PUT /v2.0/{resource}/{id}/tags/{tag}``) enforced policy action names
7 using the plural collection key (e.g. ``create_networks:tags``) instead
8 of the singular member name (e.g. ``create_network:tags``). Because the
9 plural names did not match any registered policy rule, they fell through
10 to oslo.policy's default rule, allowing project readers to create and
11 update tags on same-project resources.
12 All tag-write endpoints now consistently use the singular policy action
13 names that match the registered rules.
14 fixes:
15 - |
16 Fixed the ``delete_floatingips:tags`` policy rule name to use the correct
17 singular form ``delete_floatingip:tags``, consistent with all other
18 tag-related policy rules.