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 #38142 - Add MultiCV methods to jail for hosts and activation keys reporting #11279

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

jeremylenz
Copy link
Member

@jeremylenz jeremylenz commented Jan 17, 2025

What are the changes introduced in this pull request?

With the MultiCV feature now available, the Host - Installed Products report now must handle multiple content view environments instead of just a single content view and lifecycle environment. This makes that possible, and also adds a few more methods to Jail that may be of use.

Goes with theforeman/foreman#10417

Considerations taken when implementing this change?

What are the testing steps for this pull request?

Test together with the Foreman PR; see instructions there

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Working great!

@@ -290,7 +290,7 @@ def check_cves
property :name, String, desc: 'Returns the name of the Activation Key.'
end
class Jail < ::Safemode::Jail
allow :name
allow :name, :content_view_environment_labels, :multi_content_view_environment?
Copy link
Member

Choose a reason for hiding this comment

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

I suppose the :multi_content_view_environment? was added just out of future helpfulness to users?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah. Figured it may save an RFE in the future.

@jeremylenz jeremylenz merged commit 614ec0b into Katello:master Jan 23, 2025
19 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.

2 participants