diff options
author | WuKong <rebirthmonkey@gmail.com> | 2015-07-15 18:40:14 +0200 |
---|---|---|
committer | WuKong <rebirthmonkey@gmail.com> | 2015-07-15 18:40:14 +0200 |
commit | c10edf3198cda970331bdf6b60166aa8fb611888 (patch) | |
tree | 5a26838ec2d947e0941479b08ae0f779bede6fb6 /keystone-moon/examples | |
parent | 9312de3af73762d2dea25523b1fd2b7fbde37ff2 (diff) |
review core.py
Change-Id: Icbeed742bdaabefe443696003e74b1a6c4587ae3
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'keystone-moon/examples')
-rw-r--r-- | keystone-moon/examples/moon/policies/policy_admin/rule.json (renamed from keystone-moon/examples/moon/policies/policy_admin/rules.json) | 0 | ||||
-rw-r--r-- | keystone-moon/examples/moon/policies/policy_admin/scope.json | 6 | ||||
-rw-r--r-- | keystone-moon/examples/moon/policies/policy_authz/rule.json (renamed from keystone-moon/examples/moon/policies/policy_authz/rules.json) | 0 | ||||
-rw-r--r-- | keystone-moon/examples/moon/policies/policy_authz/scope.json | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/keystone-moon/examples/moon/policies/policy_admin/rules.json b/keystone-moon/examples/moon/policies/policy_admin/rule.json index 650405a9..650405a9 100644 --- a/keystone-moon/examples/moon/policies/policy_admin/rules.json +++ b/keystone-moon/examples/moon/policies/policy_admin/rule.json diff --git a/keystone-moon/examples/moon/policies/policy_admin/scope.json b/keystone-moon/examples/moon/policies/policy_admin/scope.json index ee6f570e..3742a5e4 100644 --- a/keystone-moon/examples/moon/policies/policy_admin/scope.json +++ b/keystone-moon/examples/moon/policies/policy_admin/scope.json @@ -1,5 +1,5 @@ { - "subject_category_scope": { + "subject_scopes": { "role": [ "admin" ], @@ -9,14 +9,14 @@ ] }, - "action_category_scope": { + "action_scopes": { "access": [ "admin", "user" ] }, - "object_category_scope": { + "object_scopes": { "id": [ "subjects", "objects", diff --git a/keystone-moon/examples/moon/policies/policy_authz/rules.json b/keystone-moon/examples/moon/policies/policy_authz/rule.json index 73e791d7..73e791d7 100644 --- a/keystone-moon/examples/moon/policies/policy_authz/rules.json +++ b/keystone-moon/examples/moon/policies/policy_authz/rule.json diff --git a/keystone-moon/examples/moon/policies/policy_authz/scope.json b/keystone-moon/examples/moon/policies/policy_authz/scope.json index b22ad2aa..4b69e469 100644 --- a/keystone-moon/examples/moon/policies/policy_authz/scope.json +++ b/keystone-moon/examples/moon/policies/policy_authz/scope.json @@ -1,5 +1,5 @@ { - "subject_category_scope": { + "subject_scopes": { "role": [ "admin", "dev" @@ -15,7 +15,7 @@ ] }, - "action_category_scope": { + "action_scopes": { "resource_action": [ "vm_admin", "vm_access", @@ -28,7 +28,7 @@ ] }, - "object_category_scope": { + "object_scopes": { "object_security_level": [ "high", "medium", |