summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-04-24 10:16:45 +0000
committerGerrit Code Review <review@openstack.org>2020-04-24 10:16:45 +0000
commitb49cd9fd97128086ced5b7df9d44a27105d28900 (patch)
tree1e067604849baf88c8fa2503378ab49d88eaded0
parent420d34414aeafe835cde2960c8c6d00d1b1cef94 (diff)
parent891ac88e6f4014f9b36699601b6b3fc21eee6318 (diff)
downloadhorizon-stable/ocata.tar.gz
Merge "Fix typo in publicize_image policy name" into stable/ocataocata-eolstable/ocata
-rw-r--r--openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js2
-rw-r--r--releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml11
2 files changed, 12 insertions, 1 deletions
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 adbecb230..07f1e211e 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 000000000..5650ffdfe
--- /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.