summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/ironic/policy.json
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-13 13:24:50 (GMT)
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-16 16:34:49 (GMT)
commita9166b8352795a0952f3341136184deb344ba200 (patch)
treee1f31ae04184fb95b1720eec244354b15cd19296 /openstack/usr/share/openstack/ironic/policy.json
parente657d841fd76ae2a6e059c95f916fa8bc335d0c9 (diff)
downloaddefinitions-a9166b8352795a0952f3341136184deb344ba200.tar.gz
Add default configuration files for Ironic
Those were copied from an Ironic git checkout. Those files will be modified and installed on '/etc' on a posterior commit to integrate Ironic with the rest of the OpenStack components. Change-Id: If0e9d9b0b6ff8dc99fe20cfbf2a8c5ed0b0c3cd2
Diffstat (limited to 'openstack/usr/share/openstack/ironic/policy.json')
-rw-r--r--openstack/usr/share/openstack/ironic/policy.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/ironic/policy.json b/openstack/usr/share/openstack/ironic/policy.json
new file mode 100644
index 0000000..94ac3a5
--- /dev/null
+++ b/openstack/usr/share/openstack/ironic/policy.json
@@ -0,0 +1,5 @@
+{
+ "admin": "role:admin or role:administrator",
+ "admin_api": "is_admin:True",
+ "default": "rule:admin_api"
+}