Remote Execution user role ignores set host_parameters

Problem:
I have a set of host_parameters set on a parent host_group (e.g. remote_execution_ssh_port) for a few hosts. The host_parameters are inherited by the child host_group. When I login with a internal user which only has the role of Remote Execution User assigned and try to run a command on one of the hosts, the set host_parameters are being ignored. When I login as an administrator and so the same thing the host_parameters are being used. Am I missing something?

Foreman and Proxy versions:
foreman: 3.11.0

Foreman and Proxy plugin versions:
foreman-tasks 9.1.1
foreman_puppet 6.3.0
foreman_remote_execution 13.1.0
katello 4.13.0

Distribution and version:
Rocky Linux release 8.10 (Green Obsidian)

Other relevant data:

Can the user see any of the host groups?

The user can’t access the host groups page if that’s what you mean. From the hosts table it’s grayed out and host groups doesn’t show up in the sidebar. Does this require another role assigned to the user?

I’ve created a new role, applied a filter with view_hostgroups permissions and assigned it to that user. I can see host groups now but the host_parameters are still being ignored when I run a job against a host in that hostgroup.

Sorry for spamming but turns out it needed view_params permissions. It’s working now :slight_smile: