why we need "admin_api": [["is_admin:True"]] in policy.json ?
Asked by
li,chen
I'm really confused about context in file policy.json.
Why we have to define some actions with "role:admin", some with "rule:admin_api" and, some with "is_admin:True"?
Also, we can get "admin_api": [["is_admin:True"]] in /etc/nova/
But, "admin_api": "role:admin" in nova/tests/
And, according to my understanding, role:admin and is_admin:True will always keep same in context.
Anyone can give me a brief introduction?
Thanks.
-chen
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask li,chen for more information if necessary.
To post a message you must log in.