Commit 1a3eb230 authored by Claudia Carballo Gonzalez's avatar Claudia Carballo Gonzalez
Browse files

Adding some comments to improve the logic in visibility_control_core.py

parent 97fde169
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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