Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
hungnt1 committed Sep 5, 2019
1 parent b1feff5 commit 8a65eec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Keystone/9.Policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 8a65eec

Please sign in to comment.