commit f3e917ea8e817c4897742a08ce9fa93770548252
Author: Sam Morrison <email address hidden>
Date: Tue Nov 23 13:56:23 2021 +1100
Don't try and update port security if its not changing
Default policy in neutron doesn't allow port security to change
if network not owned by the user. To allow users to update other
attributes of a port don't send port_security_enabled attribute
to neutron unless it changes.
If user tries to change port security on a port in a network not
owned by them it will still error as it does now.
Partial-Bug: #1841050
Change-Id: I301336103cabc3f1cab3ee72d7743385ff1a10d6
(cherry picked from commit d059b0bc40f04befc60657cd6504cc5711934b90)
Reviewed: https:/ /review. opendev. org/c/openstack /horizon/ +/859156 /opendev. org/openstack/ horizon/ commit/ f3e917ea8e817c4 897742a08ce9fa9 3770548252
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit f3e917ea8e817c4 897742a08ce9fa9 3770548252
Author: Sam Morrison <email address hidden>
Date: Tue Nov 23 13:56:23 2021 +1100
Don't try and update port security if its not changing
Default policy in neutron doesn't allow port security to change enabled attribute
if network not owned by the user. To allow users to update other
attributes of a port don't send port_security_
to neutron unless it changes.
If user tries to change port security on a port in a network not
owned by them it will still error as it does now.
Partial-Bug: #1841050
Change-Id: I301336103cabc3 f1cab3ee72d7743 385ff1a10d6 fc60657cd6504cc 5711934b90)
(cherry picked from commit d059b0bc40f04be