commit fc0f9c664afbb0b8ba9f30c65ccf9b096bf942d2
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/ +/859155 /opendev. org/openstack/ horizon/ commit/ fc0f9c664afbb0b 8ba9f30c65ccf9b 096bf942d2
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit fc0f9c664afbb0b 8ba9f30c65ccf9b 096bf942d2
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