Bug 1908150 - [Sat6] Non-root user cannot see "Job Template" dropdown options in Job Invocation page unless "Refresh" button is click
Summary: [Sat6] Non-root user cannot see "Job Template" dropdown options in Job Invoca...
Keywords:
Status: CLOSED DUPLICATE of bug 1993679
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.7.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-15 23:45 UTC by jalviso
Modified: 2024-03-25 17:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-07 11:15:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 31511 0 Normal New Job templates permission filter makes template dropdown disappear 2021-01-04 13:21:32 UTC

Comment 1 Hao Chang Yu 2020-12-16 00:49:53 UTC
This is the offending method which will always return the configured job category even if it is not authorized to view the job templates.

https://github.com/theforeman/foreman_remote_execution/blob/master/app/models/job_invocation_composer.rb#L584

Comment 3 Adam Ruzicka 2021-09-07 11:15:29 UTC
This is a duplicate of BZ #1993679 or at least the fix for it seems to fix this one as well. Closing

*** This bug has been marked as a duplicate of bug 1993679 ***


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