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 fe61f2358a)
(cherry picked from commit ed23eb60d4)
(cherry picked from commit e3f40725a4)
This commit is contained in:
Ivan Kolodyazhny 2020-01-09 18:12:18 +02:00
parent f294fa93c2
commit 7fbe9ab5ce
2 changed files with 12 additions and 1 deletions

View File

@ -57,7 +57,7 @@
]; ];
ctrl.setFormats = setFormats; ctrl.setFormats = setFormats;
ctrl.allowPublicizeImage = { rules: [['image', 'image:publicize_image']]}; ctrl.allowPublicizeImage = { rules: [['image', 'publicize_image']] };
$scope.imagePromise.then(init); $scope.imagePromise.then(init);

View File

@ -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.