New UI does not display assigned roles

Problem:
A Role has been assigned via a hostgroup and the host living in this hostgroup does not show any assigned roles in the new UI. However if I change to the legacy UI the role is displayed correctly and shows that the role is inherited by the hostgroup.

Expected outcome:
New UI shows the assigned hostgroup correctly

Foreman and Proxy versions:
foreman-proxy-3.2.0-1.el8.noarch
foreman-3.2.0-1.el8.noarch
katello-4.4.0-1.el8.noarch

Foreman and Proxy plugin versions:
rubygem-foreman_ansible-7.1.0-1.fm3_2.el8.noarch

Distribution and version:
RHEL 8

Other relevant data:
New UI


legacy UI

Correction of the first post.
Expected outcome:
New UI should show the assigned role inherited by the hostgroup.

Current Workaround:
Change to legacy UI

Is it supposed to be a feature request or is it intended no seeing any inherited roles by hostgroups or the like?
Would be happy about any respond regarding this topic! Thank you in advance!

It’s definitively a bug, I’ll take a look and see what’s going on there.
By the chance can you check the app log and browser’s console if there are any errors?

1 Like

Thank you very much for your response. Unfortunately I wont be able to post
any logs until the 17th.

Leos Stejskal via TheForeman noreply@community.theforeman.org schrieb am
Mo. 9. Mai 2022 um 12:17:

I tested it on my local dev environment and can reproduce it.
The problem is when host have assigned roles via host group only and no roles assigned directly.

If you assign at least on role to the host directly you will see the table with option to show roles assigned via host group too.

I’m going to work on it and try to fix it ASAP

1 Like

Thank you very much for fixing this!