Actions
Bug #25174
closedUser filters on katello fields break fact values page
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
If current user has filter set on katello field for view_hosts, fact values page will result in an exception:
"Can't join 'Host::Base' to association named 'lifecycle_environment'; perhaps you misspelled it?"
Repro:
Clone "Viewers" role to "Restricted viewer".
Edit "Restricted viewer" and add "lifecycle_environment = Library" restriction to view_hosts filter.
Create a user and assign "Restricted viewer" to it.
Log in as this user and go to Monitor -> Facts.
Expected:
Normal response
Actual:
Exception
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7748 added
Updated by Shimon Shtein over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|931c4dbe95c8fdf052ff0728092814baaf8a35bc.
Updated by Michael Johnson over 6 years ago
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Actions