diff --git a/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js b/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js index 745209a872..379db288ad 100644 --- a/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js +++ b/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js @@ -57,7 +57,7 @@ ]; ctrl.setFormats = setFormats; - ctrl.allowPublicizeImage = { rules: [['image', 'image:publicize_image']] }; + ctrl.allowPublicizeImage = { rules: [['image', 'publicize_image']] }; $scope.imagePromise.then(init); diff --git a/releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml b/releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml new file mode 100644 index 0000000000..5650ffdfe7 --- /dev/null +++ b/releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml @@ -0,0 +1,11 @@ +--- +upgrade: + - | + ``publicize_image`` policy now has the same name both for image create and + edit features and corresponds to the same one in Glance. If you changed the + policy name manually to get feature working you have to rollback your + changes before Horizon update. +fixes: + - | + [:bug:`1859041`] ``image:publicize_image`` policy is renamed to + ``publicize_image`` to be the same as Glance has.