Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #19560: Rename the AUTHORIZED_NETWORKS parameter used in the common system techniques. #1690

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented Jul 26, 2021

@@ -92,9 +92,9 @@ bundle common def
policy_server::
"acl" slist => {
"127.0.0.0/8" , "::1", @{sys.ip_addresses},
&if(AUTHORIZED_NETWORKS)&
&if(ALLOWEDNETWORKS)&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
&if(ALLOWEDNETWORKS)&
&if(ALLOWED_NETWORKS)&

Copy link
Member

@ncharles ncharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not ALLOWEDNETWORKS but ALLOWED_NETWORKS

@@ -76,7 +76,6 @@
</FILES>

<SYSTEMVARS>
<NAME>AUTHORIZED_NETWORKS</NAME>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's still used in common technique as a system var, you need to call it ALLOWED_NETWORKS here

@Fdall Fdall force-pushed the arch_19560/rename_the_authorized_networks_parameter_used_in_the_common_system_techniques branch from 9b7aeb8 to 4e4afcd Compare July 26, 2021 13:30
@Fdall
Copy link
Contributor Author

Fdall commented Jul 26, 2021

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 4e4afcd into Normation:master Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants