Merge "Enforce policy for qos_policy_id attribute"

This commit is contained in:
Zuul 2022-01-24 10:12:36 +00:00 committed by Gerrit Code Review
commit 725aac3ed6
3 changed files with 10 additions and 0 deletions

View File

@ -94,6 +94,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'allow_put': True,
'is_visible': True,
'default': None,
'enforce_policy': True,
'validate': {'type:uuid_or_none': None}
}
},
@ -103,6 +104,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'allow_put': True,
'is_visible': True,
'default': None,
'enforce_policy': True,
'validate': {'type:uuid_or_none': None}
}
}

View File

@ -31,6 +31,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'allow_put': True,
'is_visible': True,
'default': None,
'enforce_policy': True,
'validate': {'type:uuid_or_none': None}}
}
}

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Enforce policy for 'qos_policy_id' attribute of
port, network and fip so only authorized users
can set/unset it.
For more info see `bug LP#1957175 <https://bugs.launchpad.net/bugs/1957175>`_.