Loading services/helper/helper_service/services/visibility_control/core/visibility_control_core.py +3 −1 Original line number Diff line number Diff line Loading @@ -297,7 +297,9 @@ def get_discoverable_apis(api_invoker_id, all_apis): # No rules = default ALLOW (all APIs visible) return all_apis # Note: The rule can have ALLOW or DENY as default access. The point is to check the exceptions for the final decision (filtered APIs) # Note_CCG: The rule can have ALLOW or DENY as default access. # The point is to check the exceptions for the final decision (filtered APIs) #To be checked, but I think we don´t need this part ´has_allow_rules´ has_allow_rules = any( rule.get('default_access', rule.get('defaultAccess', 'ALLOW')) == 'ALLOW' for rule in active_rules Loading Loading
services/helper/helper_service/services/visibility_control/core/visibility_control_core.py +3 −1 Original line number Diff line number Diff line Loading @@ -297,7 +297,9 @@ def get_discoverable_apis(api_invoker_id, all_apis): # No rules = default ALLOW (all APIs visible) return all_apis # Note: The rule can have ALLOW or DENY as default access. The point is to check the exceptions for the final decision (filtered APIs) # Note_CCG: The rule can have ALLOW or DENY as default access. # The point is to check the exceptions for the final decision (filtered APIs) #To be checked, but I think we don´t need this part ´has_allow_rules´ has_allow_rules = any( rule.get('default_access', rule.get('defaultAccess', 'ALLOW')) == 'ALLOW' for rule in active_rules Loading