commit 618e44469643ca32222fb5883502582897eeafba
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/ +/859154 /opendev. org/openstack/ horizon/ commit/ 618e44469643ca3 2222fb588350258 2897eeafba
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 618e44469643ca3 2222fb588350258 2897eeafba
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