summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorlvdongbing <dongbing.lv@kylin-cloud.com>2015-06-19 10:54:49 +0800
committerQiming Teng <tengqim@cn.ibm.com>2015-06-26 08:19:05 +0000
commit7975d8b46ab5c5a86e5155089a8af8a6a8b1b152 (patch)
treef6a61ebf5bef8126473499682c6a1b442d463839 /etc
parent3fd6b53079067c06fca31eb7afb199bebf3af56e (diff)
downloadheat-7975d8b46ab5c5a86e5155089a8af8a6a8b1b152.tar.gz
Support to list software configs
APIImpact List software configs GET /v1/{tenant_id}/software_configs Request params(optional) limit,marker Json response example {'software_configs':[ {'creation_time': '2015-06-25T07:15:56', 'group': 'Heat::Ungrouped', 'id': 'de879d1c-c9a5-4635-ba29-08a5690fec27', 'name': 'foo'}] } Change-Id: Iad691672874b64b393b85d2eb9a55b22facbd263 Closes-Bug: #1464248
Diffstat (limited to 'etc')
-rw-r--r--etc/heat/policy.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/heat/policy.json b/etc/heat/policy.json
index 54c845b34..5964faf39 100644
--- a/etc/heat/policy.json
+++ b/etc/heat/policy.json
@@ -59,6 +59,8 @@
"stacks:list_snapshots": "rule:deny_stack_user",
"stacks:restore_snapshot": "rule:deny_stack_user",
+ "software_configs:global_index": "rule:deny_everybody",
+ "software_configs:index": "rule:deny_stack_user",
"software_configs:create": "rule:deny_stack_user",
"software_configs:show": "rule:deny_stack_user",
"software_configs:delete": "rule:deny_stack_user",