summaryrefslogtreecommitdiffstats
path: root/keystone-moon/examples/moon/policies/policy_mls_authz/rule.json
diff options
context:
space:
mode:
authorWuKong <rebirthmonkey@gmail.com>2015-10-12 14:29:11 +0200
committerWuKong <rebirthmonkey@gmail.com>2015-10-12 14:29:11 +0200
commita363067a1bdf411c28032b926b451fc9d0964dc6 (patch)
treeb663db364a162232602210da11df567d286296ac /keystone-moon/examples/moon/policies/policy_mls_authz/rule.json
parent43da0e268fd88c05e49a3d949e3685a13fa43926 (diff)
create scenario test
Change-Id: Id392d900583a31fb53a9da5bcb0c47746f34491a Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'keystone-moon/examples/moon/policies/policy_mls_authz/rule.json')
-rw-r--r--keystone-moon/examples/moon/policies/policy_mls_authz/rule.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/keystone-moon/examples/moon/policies/policy_mls_authz/rule.json b/keystone-moon/examples/moon/policies/policy_mls_authz/rule.json
new file mode 100644
index 00000000..b17dc822
--- /dev/null
+++ b/keystone-moon/examples/moon/policies/policy_mls_authz/rule.json
@@ -0,0 +1,16 @@
+{
+ "mls_rule":[
+ ["high", "vm_admin", "medium"],
+ ["high", "vm_admin", "low"],
+ ["medium", "vm_admin", "low"],
+ ["high", "vm_access", "medium"],
+ ["high", "vm_access", "low"],
+ ["medium", "vm_access", "low"],
+ ["high", "storage_admin", "medium"],
+ ["high", "storage_admin", "low"],
+ ["medium", "storage_admin", "low"],
+ ["high", "storage_access", "medium"],
+ ["high", "storage_access", "low"],
+ ["medium", "storage_access", "low"]
+ ]
+}