diff options
Diffstat (limited to 'moonv4')
-rw-r--r-- | moonv4/moon_utilities/moon_utilities/security_functions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/moonv4/moon_utilities/moon_utilities/security_functions.py b/moonv4/moon_utilities/moon_utilities/security_functions.py index f55620b6..849f5110 100644 --- a/moonv4/moon_utilities/moon_utilities/security_functions.py +++ b/moonv4/moon_utilities/moon_utilities/security_functions.py @@ -294,6 +294,12 @@ class Context: # context["pdp_set"][meta_rule_id]["target"][act_cat].append(assign) # # context["pdp_set"][meta_rule_id]["target"].update(result) + """build target from meta_rule + + Target is dict of categories as keys ; and the value of each category will be + a list of assignments + + """ def __add_target(self, meta_rule_id): result = dict() _subject = self.__current_request["subject"] |