summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Pryor <spryor@redhat.com>2017-11-28 09:51:10 -0500
committerSean Pryor <spryor@redhat.com>2017-11-28 09:51:10 -0500
commit0116484b481cbcc2119cb6490e2a3e05cc1966ec (patch)
treef457365d55903e81bb1e6978acb87a7b9d194ca8
parent3c70bb60c1c30fbb4fce5ae4f9b87d1d6ff65593 (diff)
downloadopenstack-access-policy-0116484b481cbcc2119cb6490e2a3e05cc1966ec.zip
openstack-access-policy-0116484b481cbcc2119cb6490e2a3e05cc1966ec.tar.gz
openstack-access-policy-0116484b481cbcc2119cb6490e2a3e05cc1966ec.tar.xz
Added admin to gnocchi get/post measures
Change-Id: I950735924e6442a76f66ccdfe8e105b31e8b8ae3
-rw-r--r--etc/gnocchi/policy.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/gnocchi/policy.json b/etc/gnocchi/policy.json
index d0689b7..15cde5e 100644
--- a/etc/gnocchi/policy.json
+++ b/etc/gnocchi/policy.json
@@ -44,6 +44,6 @@
"list metric": "rule:admin or rule:member or rule:readonly",
"list all metric": "rule:admin or rule:readonly",
- "get measures": "rule:creator or rule:metric_owner or rule:readonly",
- "post measures": "rule:creator"
+ "get measures": "rule:admin or rule:creator or rule:metric_owner or rule:readonly",
+ "post measures": "rule:admin or rule:creator"
}