diff options
author | Steven Hardy <shardy@redhat.com> | 2015-10-01 17:16:01 +0100 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2015-10-01 19:05:07 +0100 |
commit | 604595a39c9345d214f9f02c2ab8d7d1d768fcbe (patch) | |
tree | 0b624d843dd3f003a3b7e26789af1683eb12d19c /etc | |
parent | 53c5cb22baa031bd2f1af8f899825de58808e33f (diff) | |
download | heat-604595a39c9345d214f9f02c2ab8d7d1d768fcbe.tar.gz |
Update preview_update_stack to align with PATCH updates
Currently attempting to do a preview update call with PATCH fails,
because we didn't align the behavior of preview update with the
actual update in the recent additions to fix bug #1224828
So, refactor to ensure both preview_update & update use the same
code, and add a PATCH path to the update API.
Change-Id: I8ce5c0ea4035a7b9563db10ea10433e7f5f99a4f
Closes-Bug: #1501207
Diffstat (limited to 'etc')
-rw-r--r-- | etc/heat/policy.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/heat/policy.json b/etc/heat/policy.json index 8043d8b03..1c8cd0271 100644 --- a/etc/heat/policy.json +++ b/etc/heat/policy.json @@ -53,8 +53,9 @@ "stacks:show": "rule:deny_stack_user", "stacks:template": "rule:deny_stack_user", "stacks:update": "rule:deny_stack_user", - "stacks:preview_update": "rule:deny_stack_user", "stacks:update_patch": "rule:deny_stack_user", + "stacks:preview_update": "rule:deny_stack_user", + "stacks:preview_update_patch": "rule:deny_stack_user", "stacks:validate_template": "rule:deny_stack_user", "stacks:snapshot": "rule:deny_stack_user", "stacks:show_snapshot": "rule:deny_stack_user", |