Project

General

Profile

Actions

Bug #25586

closed

Non-admin user can't generate report if it has any user input

Added by Marek Hulán about 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by The Foreman Bot about 5 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
Actions #2

Updated by Timo Goebel about 5 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
Actions #3

Updated by Marek Hulán about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Marek Hulán about 5 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.

Actions #5

Updated by Tomer Brisker almost 4 years ago

  • Category changed from Statistics to Reporting
Actions

Also available in: Atom PDF