aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/examples
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-07-24 12:36:12 +0200
committerasteroide <thomas.duval@orange.com>2015-07-24 12:36:12 +0200
commit7348b8effd253c355e998875877a3135817d6eb0 (patch)
tree9e5b38203c99b79b984fd0d4522c8a6f462d700d /keystone-moon/examples
parent5637b139e1696f665263fcfdaf97f8a2b37c5bfb (diff)
add_tenant function in controllers.py nox check if tenant name exist in Keystone
fix some bugs in enforce function and SQL functions Change-Id: Ie760aad146d249fa6d98edbbb64dae732724e756
Diffstat (limited to 'keystone-moon/examples')
-rw-r--r--keystone-moon/examples/moon/policies/policy_admin/scope.json2
-rw-r--r--keystone-moon/examples/moon/policies/policy_root/assignment.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/keystone-moon/examples/moon/policies/policy_admin/scope.json b/keystone-moon/examples/moon/policies/policy_admin/scope.json
index 74b1d019..9de90206 100644
--- a/keystone-moon/examples/moon/policies/policy_admin/scope.json
+++ b/keystone-moon/examples/moon/policies/policy_admin/scope.json
@@ -11,7 +11,7 @@
]
},
"object_scopes": {
- "action_id": [
+ "object_id": [
"authz.subjects",
"authz.objects",
"authz.actions",
diff --git a/keystone-moon/examples/moon/policies/policy_root/assignment.json b/keystone-moon/examples/moon/policies/policy_root/assignment.json
index 2852de0c..e849ae13 100644
--- a/keystone-moon/examples/moon/policies/policy_root/assignment.json
+++ b/keystone-moon/examples/moon/policies/policy_root/assignment.json
@@ -15,7 +15,7 @@
"object_assignments": {
"object_id": {
"templates": ["templates"],
- "sub_meta_rule_algorithm": ["sub_meta_rule_relations"],
+ "sub_meta_rule_algorithms": ["sub_meta_rule_algorithms"],
"aggregation_algorithms": ["aggregation_algorithms"],
"tenants": ["tenants"],
"intra_extensions": ["intra_extensions"],