Project

General

Profile

Actions

Feature #1853

closed

hostgroups can not be listed if filter = null

Added by Steve Traylen over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Authentication
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

foreman v1.0.1 ( seen on 1.0 as well)

If I have a user with 'view' permissions and no filters ticked then

as soon as I tick a hostgroup in a filter then

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.

Actions #1

Updated by Martijn van Oosterhout over 11 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.

Actions #2

Updated by Ohad Levy over 11 years ago

  • Category set to API
  • Assignee set to Joseph Magen
Actions #3

Updated by Daniel Lobato Garcia over 11 years ago

Taking care of this.

Actions #4

Updated by Daniel Lobato Garcia over 11 years ago

Fixed, description is on github https://github.com/theforeman/foreman/pull/296

Actions #5

Updated by Ohad Levy about 11 years ago

  • Target version set to 1.2.0
Actions #6

Updated by Dominic Cleal almost 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
Actions #7

Updated by Dominic Cleal almost 11 years ago

  • Target version changed from 1.2.0 to 1.3.0
Actions #8

Updated by Daniel Lobato Garcia over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF