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 #37289 - Download report template created in less than 24 hours [WIP] #10111

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

waldirio
Copy link

Hello,

This is still working in progress, @ares let me know what you think, and I'm pretty sure that we can improve this code.

At this moment, it's working as expected, once there is a report in the stored_values table, and some of the information matches, the link will be presented on the report template page.

Thank you!
Waldirio

@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

2 similar comments
@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

Copy link
Member

@ares ares left a comment

Choose a reason for hiding this comment

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

Thanks @waldirio for the initial draft. I'm sure the code can be cleaned up a bit, but this is a great POC to agree on the way we fetch the data.

I think that it currently ignores who generated the report, correct? Like user A generates the report, user B can see it. That may be security issue, because the report IIRC is rendered in scope of the user, so each user may get different data from it. This is definitely the case for the reports which contain the load_...() macro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants