Project

General

Profile

Actions

Bug #21934

closed

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

Added by Marek Hulán over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
No
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:

Actions #1

Updated by The Foreman Bot over 6 years ago

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

Updated by Lukas Zapletal over 6 years ago

  • 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
  • translation missing: en.field_release set to 296
Actions #3

Updated by Anonymous over 6 years ago

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

Updated by Lukas Zapletal almost 6 years ago

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

Also available in: Atom PDF