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 1850355 - Auth Source Role Filters are not working in Satellite 6.8
Summary: Auth Source Role Filters are not working in Satellite 6.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.8.0
Hardware: All
OS: All
unspecified
low
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-24 06:55 UTC by Omkar Khatavkar
Modified: 2020-10-27 13:03 UTC (History)
5 users (show)

Fixed In Version: foreman-2.1.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:03:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30244 0 Normal Closed Error raised when Filter has a blank search condition 2021-01-29 14:12:36 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:03:53 UTC

Description Omkar Khatavkar 2020-06-24 06:55:53 UTC
Description of problem:
Auth Source Role Filters are not working in Satellite 6.8 

Version-Release number of selected component (if applicable):
Satellite 6.8 Snap 5  

How reproducible:
Always

Steps to Reproduce:
1. Create a Role and Add all Auth Souce Filters 
2. Create new User and add that role to that user 
3. Try to access the page Auth Source Page from that newly created user   

Actual results:
Not able to see the auth sources page and getting 500 internal server error 

Expected results:
User should able to see the auth source page 


Additional info:
2020-06-24T02:44:56 [I|app|3c5354eb] Started GET "/auth_sources" for 127.0.0.1 at 2020-06-24 02:44:56 -0400
2020-06-24T02:44:56 [I|app|3c5354eb] Processing by AuthSourcesController#index as HTML
2020-06-24T02:44:56 [I|app|3c5354eb] Completed 500 Internal Server Error in 52ms (ActiveRecord: 8.6ms | Allocations: 10383)
2020-06-24T02:44:56 [F|app|3c5354eb]   
NameError (undefined method `invalid_search_query' for class `#<Class:#<AuthSourcesController:0x00007ff3cb5fca00>>'):
  
katello (3.16.0.rc2) lib/katello/middleware/event_daemon.rb:10:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
katello (3.16.0.rc2) lib/katello/prevent_json_parsing.rb:12:in `call'

Comment 4 Peter Ondrejka 2020-09-03 08:21:05 UTC
Verified on Satellite 6.8 snap 13, the user with auth source permissions can access the auth source page as expected.

Comment 7 errata-xmlrpc 2020-10-27 13:03:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366


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