Bug #21934
closedNavigating to Discovered host page with org_admin user shows invalid search query
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:
Updated by The Foreman Bot about 7 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
Updated by Lukas Zapletal about 7 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
Updated by Anonymous about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|4f85e2ee0b4c70ac35690bf90f216180a1d93058.
Updated by Lukas Zapletal over 6 years ago
- Target version changed from 792 to Discovery Plugin 11.0.0
- Triaged set to No