Bug 1492853 - User with virt-who-manager role, can't do certain Virt-who-configure tasks
Summary: User with virt-who-manager role, can't do certain Virt-who-configure tasks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Virt-who Configure Plugin
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Perry Gagne
satellite-doc-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-18 18:26 UTC by Perry Gagne
Modified: 2019-09-26 16:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 17:08:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error shown after creating config (108.95 KB, image/png)
2017-09-18 18:26 UTC, Perry Gagne
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21034 0 None None None 2017-09-20 13:17:02 UTC

Description Perry Gagne 2017-09-18 18:26:47 UTC
Created attachment 1327588 [details]
Error shown after creating config

Description of problem:
When a user has the "Virt-who Manager Role" they don't seem able to do certain things like:
- View list of Virt-who configs

- When creating a config, a error page is shown with the error "ForemanVirtWhoConfigureConfig not found Please try to update your request". However, the config seems to get created. 

- View the dashboard widget for virt-who configs.


Version-Release number of selected component (if applicable): 6.3.0


How reproducible: Always


Steps to Reproduce:
1. Create user with only the "virt-who manager" role.
2. Login with the username
3. Create a virt-who configuration

Actual results: Error page shown, but config is created. However, the user doesn't see it in the virt-who config page.


Expected results: No error page, config is listed on the config page. Dashboard widget is shown with info from that config. 

Additional Info: Attached forman-debug and screen show of error page.

Comment 3 Marek Hulan 2017-09-18 19:03:11 UTC
Perry, was the user in some organization? I'll try to reproduce myself but if you still have to reproducing env, could you pls also attach production.log with permissions logger enabled and log level set to debug? Thanks

Comment 5 Marek Hulan 2017-09-20 13:16:59 UTC
Created redmine issue http://projects.theforeman.org/issues/21034 from this bug

Comment 6 Marek Hulan 2017-09-20 14:14:34 UTC
Thanks, the log helped.

Comment 7 Satellite Program 2017-09-22 14:05:12 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21034 has been resolved.

Comment 8 Perry Gagne 2017-10-04 14:42:15 UTC
verified fix in 6.3.0 snap 18. 

Created user with virt-who manager role and was able to view and edit the configurations.

Comment 9 Bryan Kearney 2018-02-21 17:08:28 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.