From 7348b8effd253c355e998875877a3135817d6eb0 Mon Sep 17 00:00:00 2001 From: asteroide Date: Fri, 24 Jul 2015 12:36:12 +0200 Subject: 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 --- keystone-moon/examples/moon/policies/policy_admin/scope.json | 2 +- keystone-moon/examples/moon/policies/policy_root/assignment.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keystone-moon/examples') 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"], -- cgit 1.2.3-korg