Bug #25586
closedNon-admin user can't generate report if it has any user input
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1654263
Description of problem:
Non-admin user can't generate report if it has any user input. Not even if they have all ready-made roles + reporting related rights. Reports without user inputs can be generated.
Version-Release number of selected component (if applicable):
Tested on Sat 6.5 snap 5
How reproducible:
Deterministic
Steps to Reproduce:
1. Create a user that is not admin, with correct taxonomies and all Roles
2. Log in as that user
3. Monitor -> Report Templates
4. Generate "Host statuses CSV"
5. Submit
Actual results:
1) Pop-up error:
"ERF47-7719 [TemplateInput::ValueNotReady]: Input 'hosts' is not ready for rendering"
2) Traceback (attached)
Expected results:
Report generated
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman/pull/6292 added
Updated by Timo Goebel about 6 years ago
- Subject changed from Non-admin user can't generate report if it has any user input to Non-admin user can't generate report if it has any user input
- Fixed in Releases 1.21.0 added
Updated by Marek Hulán about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 05151085593bf4d191d9ddba8f57858bd44cb448.
Updated by Marek Hulán about 6 years ago
- Fixed in Releases 1.20.1 added
Tomer, this means that 1.20 new reporting feature works only for admin users. If it's not too late, I'd consider this for 1.20.1 or 1.20.2. I'm setting 1.20.1 for now as well, to raise attention.
Updated by Tomer Brisker almost 5 years ago
- Category changed from Statistics to Reporting