Feature #1853
closedhostgroups can not be listed if filter = null
Description
foreman v1.0.1 ( seen on 1.0 as well)
If I have a user with 'view' permissions and no filters ticked then
- https://foreman/hosts shows a list of all hosts
- https://foreman/hostgroups does not show any hostgroups, in foreman < 1 it used to show all hostgroups.
as soon as I tick a hostgroup in a filter then
- https://foreman/hosts shows just the hosts in the particular ticked host groups.
- https://formann/hostgroups shows just the hostgroups from the filter.
There seems to be no easy way to configure a user such that they can see a list
of all hostgroups with out ticking all the host groups in the filter and maintaining that.
Updated by Martijn van Oosterhout almost 12 years ago
Just stumbled across this today when trying to figure out why my program using the API couldn't retrieve the list of HostGroups unless the user was made Administrator. Since I'd like this user to be read-only that's not an option.
Oddly enough, contrary to the original report, it can list the hosts, just not the hostgroups. Very odd. Foreman v1.0.
Adding all the HostGroups to the filter works fine.
Updated by Ohad Levy almost 12 years ago
- Category set to API
- Assignee set to Joseph Magen
Updated by Daniel Lobato Garcia almost 12 years ago
Fixed, description is on github https://github.com/theforeman/foreman/pull/296
Updated by Dominic Cleal over 11 years ago
- Category changed from API to Authentication
- Status changed from New to Ready For Testing
- Assignee changed from Joseph Magen to Daniel Lobato Garcia
Updated by Dominic Cleal over 11 years ago
- Target version changed from 1.2.0 to 1.3.0
Updated by Daniel Lobato Garcia about 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 5c70f9d471fe8d7b20f2cdc47ed7408bdcf99d39.