Loading services/helper/helper_service/services/visibility_control/core/visibility_control_core.py +1 −1 Original line number Diff line number Diff line Loading @@ -299,7 +299,7 @@ def get_discoverable_apis(api_invoker_id, all_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´ # I think we don´t need this part ´has_allow_rules´ (To be checked) 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 +1 −1 Original line number Diff line number Diff line Loading @@ -299,7 +299,7 @@ def get_discoverable_apis(api_invoker_id, all_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´ # I think we don´t need this part ´has_allow_rules´ (To be checked) has_allow_rules = any( rule.get('default_access', rule.get('defaultAccess', 'ALLOW')) == 'ALLOW' for rule in active_rules Loading