Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1276022 - Sat6 should hide unusable hostgroups from the dropdown menu when creating new host
Summary: Sat6 should hide unusable hostgroups from the dropdown menu when creating new...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-28 12:20 UTC by Maxim Burgerhout
Modified: 2017-01-12 15:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-12 15:09:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Maxim Burgerhout 2015-10-28 12:20:30 UTC
Description of problem:
I created a role that has only the following filters:

Host Group 	view_hostgroups 		label ~ QA%
Host/managed 	create_hosts 		hostgroup_fullname ~ QA%

The way I understand this, this role should allow me to view hostgroups that start with 'QA' and create hosts in those same hostgroups only.

When I start creating a new host however, the dropdown menu in the new host screen still allows me to pick hostgroups that do not have 'QA' in their name.

Version-Release number of selected component (if applicable):
foreman-1.7.2.43-1.el7sat.noarch

How reproducible:


Steps to Reproduce:
1. Create role with filters as above
2. Attach role to user, log in with that uesr
3. Go to 'New host', click 'Host Group'

Actual results:
All hostgroups will show.

Expected results:
Only hostgroups that match the view_hostgroups filter for my role (i.e. hostgroups that start match 'QA%' are shown. 

Additional info:

Comment 1 Bryan Kearney 2016-07-26 19:10:40 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Bryan Kearney 2017-01-12 15:09:40 UTC
This is an older bug which I do not envision being fixed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.


Note You need to log in before you can comment on or make changes to this bug.