summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kolodyazhny <e0ne@e0ne.info>2020-01-09 18:12:18 +0200
committerIvan Kolodyazhny <e0ne@e0ne.info>2020-01-17 13:17:42 +0200
commit7fbe9ab5cee0765f9913f765125a5423c35a8a1b (patch)
tree866a8b8ca51afdc83f964b848bb37459f636a3f6
parentf294fa93c24fd0ae64bc431a04c2385690b59084 (diff)
downloadhorizon-7fbe9ab5cee0765f9913f765125a5423c35a8a1b.tar.gz
Fix typo in publicize_image policy name
This patch is not cherry-picked from stable/train because if was fixed in a scope of a new feature implementation with https://review.opendev.org/#/c/602468/ commit. Change-Id: I519e15afc975e6da2afb9c72a05448541572bd10 Closes-Bug: 1859041 (cherry picked from commit fe61f2358a6e16ea462630747180b83337eb5b55) (cherry picked from commit ed23eb60d4674e7d50f9f13cc926d3e3bb4f1121) (cherry picked from commit e3f40725a4f16140f1c423bc9456b670b9bb76b9)
-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.