diff options
author | 2016-04-22 16:06:08 +0200 | |
---|---|---|
committer | 2016-04-22 16:06:08 +0200 | |
commit | 8c6291c915bd9f806600642b188f2bbb5fc716bc (patch) | |
tree | 00ab9e1ebb3a8c7bd8d47058cbf03c623ed02799 /keystone-moon/etc/policies/policy_mls_authz/assignment.json | |
parent | 9bb6f3e3465fd0e278cbd2b35d42e30ce66bfbee (diff) |
Move policy files to a better location for the installation process.
Change-Id: If74a878058983df8e432927e87b3da69214d9888
Diffstat (limited to 'keystone-moon/etc/policies/policy_mls_authz/assignment.json')
-rw-r--r-- | keystone-moon/etc/policies/policy_mls_authz/assignment.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/keystone-moon/etc/policies/policy_mls_authz/assignment.json b/keystone-moon/etc/policies/policy_mls_authz/assignment.json new file mode 100644 index 00000000..0712dfbc --- /dev/null +++ b/keystone-moon/etc/policies/policy_mls_authz/assignment.json @@ -0,0 +1,29 @@ +{ + "subject_assignments": { + "subject_security_level":{ + "admin": ["high"], + "demo": ["medium"] + } + }, + + "action_assignments": { + "resource_action":{ + "pause": ["vm_admin"], + "unpause": ["vm_admin"], + "start": ["vm_admin"], + "stop": ["vm_admin"], + "list": ["vm_access", "vm_admin"], + "create": ["vm_admin"], + "storage_list": ["storage_access"], + "download": ["storage_access"], + "post": ["storage_admin"], + "upload": ["storage_admin"] + } + }, + + "object_assignments": { + "object_security_level": { + "servers": ["low"] + } + } +} |