Project

General

Profile

Bug #21934

Navigating to Discovered host page with org_admin user shows invalid search query

Added by Marek Hulán over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1517701

Description of problem: Navigating to Discovered host page with user having role org_admin shows Error: Invalid search query: Field 'organization_id' not recognized for searching!

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

How reproducible: always

Steps to Reproduce:
1. Login with admin
2. Navigate to Administer -> Roles
3. Create role cloning Organization admin role
4. Create user providing location, organization and created role
5. Login with created user
6. Try to navigate to Hosts -> Discovered host page

Actual results:

Could not able to navigate to discovered host page and UI shows error Error: Invalid search query: Field 'organization_id' not recognized for searching!

Expected results:

Can navigate to discovered host page.

Additional info:

Associated revisions

Revision 4f85e2ee (diff)
Added by Tomer Brisker over 2 years ago

Fixes #21934 - Allow searching discovered host by taxonomy id

History

#1 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/397 added

#2 Updated by Lukas Zapletal over 2 years ago

  • Legacy Backlogs Release (now unused) set to 296
  • Subject changed from Navigating to Discovered host page with org_admin user shows invalid search query to Navigating to Discovered host page with org_admin user shows invalid search query

#3 Updated by Anonymous over 2 years ago

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

#4 Updated by Lukas Zapletal about 2 years ago

  • Triaged set to No
  • Target version changed from 792 to Discovery Plugin 11.0.0

Also available in: Atom PDF