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

Fix compliance policy deployment link #35

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

adamruzicka
Copy link
Contributor

@adamruzicka
Copy link
Contributor Author

Also cc @Lennonka

Copy link
Contributor

@Lennonka Lennonka left a comment

Choose a reason for hiding this comment

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

The link does have a target. However, I'm not sure about its context of origin and, therefore, I cannot evaluate if this target is appropriate.

According to the key of the link, you might want to consider /managing_security_compliance/deploying-compliance-policies_security-compliance, but I'm not blocking it.

@adamruzicka
Copy link
Contributor Author

It's used in Hosts > Compliance > Policies > New Policy
image

We already had this in one of the downstream PRs before the theme plugin got upstreamed. If you say the other link is better, then I'll gladly switch to it.

@Lennonka
Copy link
Contributor

Then it's already the best possible option!

'deploying-compliance-policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Configuring_SCAP_Contents_security-compliance#deploying-compliance-policies_security-compliance",
}.freeze
'deploying-compliance-policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/compliance-policy-deployment-options_security-compliance",
}
Copy link
Member

Choose a reason for hiding this comment

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

Any reason you dropped the .freeze?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fat fingers I'm afraid, frozen again.

@evgeni evgeni merged commit 8eb8f37 into RedHatSatellite:develop Jan 24, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants