summaryrefslogtreecommitdiffstats
path: root/etc/glance
diff options
context:
space:
mode:
authorVincent S. Cojot <vcojot@redhat.com>2017-04-16 17:04:27 -0400
committerVincent S. Cojot <vcojot@redhat.com>2017-04-16 17:04:27 -0400
commit1f0a9a0b18eefa76f7e36a486ae8e0f40580fb23 (patch)
tree23b6d09797de44f4ba38b503946a75c1ee19c83f /etc/glance
parent70c2379249d6bede8a33ff5617f87e07ee3fe9c7 (diff)
downloadopenstack-access-policy-1f0a9a0b18eefa76f7e36a486ae8e0f40580fb23.tar.gz
openstack-access-policy-1f0a9a0b18eefa76f7e36a486ae8e0f40580fb23.tar.xz
openstack-access-policy-1f0a9a0b18eefa76f7e36a486ae8e0f40580fb23.zip
Made readonly more explicit...
Diffstat (limited to 'etc/glance')
-rw-r--r--etc/glance/policy.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/glance/policy.json b/etc/glance/policy.json
index e59a6b3..22d3fa4 100644
--- a/etc/glance/policy.json
+++ b/etc/glance/policy.json
@@ -1,6 +1,6 @@
{
"deny_readonly": "not role:readonly",
- "context_is_admin": "role:admin",
+ "context_is_admin": "role:admin and rule:deny_readonly",
"default": "role:admin",
"add_image": "rule:deny_readonly",