summaryrefslogtreecommitdiffstats
path: root/etc/policy.json
diff options
context:
space:
mode:
authortermie <github@anarkystic.com>2012-02-28 16:50:48 -0800
committertermie <github@anarkystic.com>2012-03-08 14:06:32 -0800
commita2f2274c69df2ca5b040a69173f3eb7eb030c561 (patch)
treec57294737b6fe1bda4706d95e08863d4f81c958e /etc/policy.json
parente5254d48b133f3ec9798cc8eb48a03cb69ff2d97 (diff)
downloadkeystone-a2f2274c69df2ca5b040a69173f3eb7eb030c561.tar.gz
keystone-a2f2274c69df2ca5b040a69173f3eb7eb030c561.tar.xz
keystone-a2f2274c69df2ca5b040a69173f3eb7eb030c561.zip
port common policy code to keystone
keystone.common.policy is copied from nova leave simple backend in as a shim until devstack stops referencing it Change-Id: Ibd579cfeb99465706d525b6565818a2d8f5f3b7c
Diffstat (limited to 'etc/policy.json')
-rw-r--r--etc/policy.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/policy.json b/etc/policy.json
new file mode 100644
index 00000000..4a1482f8
--- /dev/null
+++ b/etc/policy.json
@@ -0,0 +1,3 @@
+{
+ "admin_required": [["role:admin"], ["is_admin:1"]]
+}