From 8a65eec9791a581fbfb786945820156b35ec1133 Mon Sep 17 00:00:00 2001 From: nguyenhung Date: Fri, 6 Sep 2019 00:58:31 +0700 Subject: [PATCH] mend --- Keystone/9.Policy.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Keystone/9.Policy.md b/Keystone/9.Policy.md index 05ea4cc..54f6458 100644 --- a/Keystone/9.Policy.md +++ b/Keystone/9.Policy.md @@ -30,4 +30,14 @@ "owner" : "user_id:%(user_id)s", "admin_or_owner": "rule:admin_required or rule:owner", "identity:change_password": "rule:admin_or_owner" +``` + + +- Openstack default policy gen +``` +oslopolicy-policy-generator --namespace keystone --output-file /etc/keystone/policy.json +oslopolicy-policy-generator --namespace glance --output-file /etc/glance/policy.json +oslopolicy-policy-generator --namespace nova --output-file /etc/nova/policy.json +oslopolicy-policy-generator --namespace neutron --output-file /etc/neutron/policy.json +oslopolicy-policy-generator --namespace cinder --output-file /etc/cinder/policy.json ``` \ No newline at end of file