aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/contrib
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-07-27 17:48:09 +0200
committerasteroide <thomas.duval@orange.com>2015-07-27 17:48:09 +0200
commit0d9a6ddbc6032efdb0f703ff4ec6d33f278aa21b (patch)
tree9c9597d781317a683270a6ebd67d00e56c438faa /keystone-moon/keystone/contrib
parentfa131608c47e4dfd1c5c78f09d00439401a8499c (diff)
Raise AuthzException in IntraExtensionAuthzManager whenn needed (untested).
Change-Id: Ibf7771c97804a632456a4f0807b909ce99365c1a
Diffstat (limited to 'keystone-moon/keystone/contrib')
-rw-r--r--keystone-moon/keystone/contrib/moon/core.py78
1 files changed, 77 insertions, 1 deletions
diff --git a/keystone-moon/keystone/contrib/moon/core.py b/keystone-moon/keystone/contrib/moon/core.py
index e7d606c6..a42a7912 100644
--- a/keystone-moon/keystone/contrib/moon/core.py
+++ b/keystone-moon/keystone/contrib/moon/core.py
@@ -1549,7 +1549,83 @@ class IntraExtensionAuthzManager(IntraExtensionManager):
# TODO: sync with intra_admin_extension subjects table, need double check in both authz and admin
return
- # TODO: for other no heritaged functions, add raise AuthzException()
+ def get_subject_categories_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_subject_category(self, user_id, intra_extension_id, subject_category_id):
+ raise AuthzException()
+
+ def get_object_category_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_object_category(self, user_id, intra_extension_id, object_category_id):
+ raise AuthzException()
+
+ def get_action_category_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_action_category(self, user_id, intra_extension_id, action_category_id):
+ raise AuthzException()
+
+ def get_subjects_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_subject_dict(self, user_id, intra_extension_id, subject_id):
+ raise AuthzException()
+
+ def get_objects_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_object_dict(self, user_id, intra_extension_id, object_id):
+ raise AuthzException()
+
+ def get_actions_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_action_dict(self, user_id, intra_extension_id, action_id):
+ raise AuthzException()
+
+ def get_subject_scopes_dict(self, user_id, intra_extension_id, subject_category_id):
+ raise AuthzException()
+
+ def get_subject_scope_dict(self, user_id, intra_extension_id, subject_category_id, subject_scope_id):
+ raise AuthzException()
+
+ def get_object_scopes_dict(self, user_id, intra_extension_id, object_category_id):
+ raise AuthzException()
+
+ def get_object_scope_dict(self, user_id, intra_extension_id, object_category_id, object_scope_id):
+ raise AuthzException()
+
+ def get_action_scopes_dict(self, user_id, intra_extension_id, action_category_id):
+ raise AuthzException()
+
+ def get_action_scope_dict(self, user_id, intra_extension_id, action_category_id, action_scope_id):
+ raise AuthzException()
+
+ def get_subject_assignment_list(self, user_id, intra_extension_id, subject_id, subject_category_id):
+ raise AuthzException()
+
+ def get_object_assignment_list(self, user_id, intra_extension_id, object_id, object_category_id):
+ raise AuthzException()
+
+ def get_action_assignment_list(self, user_id, intra_extension_id, action_id, action_category_id):
+ raise AuthzException()
+
+ def get_aggregation_algorithm_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_sub_meta_rules_dict(self, user_id, intra_extension_id):
+ raise AuthzException()
+
+ def get_sub_meta_rule_dict(self, user_id, intra_extension_id, sub_meta_rule_id):
+ raise AuthzException()
+
+ def get_rules_dict(self, user_id, intra_extension_id, sub_meta_rule_id):
+ raise AuthzException()
+
+ def get_rule_dict(self, user_id, intra_extension_id, sub_meta_rule_id, rule_id):
+ raise AuthzException()
@dependency.provider('admin_api')