Bug 1377981

Summary: Location tab should not appear for some non applicable filters in role
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: Users & RolesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: jcallaha, sgraessl
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 17:43:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1373844    

Description Jitendra Yejare 2016-09-21 08:42:37 UTC
Description of problem:
Location tab is displayed for some of the resource filters in role on which location cannot be applied.
This makes some ugly behavior in UI while creating non applicable filters.
The behavior is described in steps.

Version-Release number of selected component (if applicable):
Satellite 6.3 snap 1

How reproducible:
Always

Steps to Reproduce:
1. Select a role filter to which location can not be associated(e.g Activation Key)
2. Add permissions to filter.
3. Select override check.

Actual results:
1. Location tab appears to select locations for filter.
2. After selecting location & lorg and submitting the filter to create, location tab disappears and only organization tab appears with no orgs selected before doing submit.

Expected results:
1. Location tab should not be displayed for such and all non applicable filters.
2. On Submit, selection for orgs in Organization should be saved and shouldn't be cleared.

Additional info:

Comment 3 Sebastian Gräßl 2017-08-28 14:12:56 UTC
Created redmine issue http://projects.theforeman.org/issues/20760 from this bug

Comment 4 Bryan Kearney 2018-09-04 17:43:37 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.