Project

General

Profile

Bug #28552

Unable to filter/search http-proxies using Organization/Location for UI.

Added by Brad Buckingham 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Organizations and Locations
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
Unable to filter http-proxies using Organization/Location on UI.

How reproducible:
- Always

Steps to Reproduce:
1. Go to Infrastructure > HTTP Proxies
2. Create two or more HTTP Proxies having different organization assigned to them.
3. Use filter to search HTTP Proxies based on Organization/Location. OR
4. Switch to any other Organization.

Actual results:
- All the HTTP Proxies get listed for every Organization.

Expected results:
- HTTP Proxies should be listed based on Organization/Location assigned to them.

Additional info:

[root@hpe-ml350egen8-01 ~]# hammer http-proxy list --organization-id 3
---|-------------------------------
ID | NAME
---|-------------------------------
1 | proxy1
3 | proxy3
---|-------------------------------

[root@hpe-ml350egen8-01 ~]# hammer http-proxy list --organization-id 1
---|-------------------------------
ID | NAME
---|-------------------------------
1 | proxy1
2 | kjk
3 | proxy3
---|-------------------------------

Associated revisions

Revision da025916 (diff)
Added by Brad Buckingham 5 months ago

Fixes #28552 - update model to filter/scope by taxonomy

The http_proxy model doesn't currently provide the default scoping
by taxonomy (e.g. organization/location). As a result, without
this fix, the user will see all proxies listed.

History

#1 Updated by The Foreman Bot 6 months ago

  • Assignee set to Brad Buckingham
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7279 added

#2 Updated by Justin Sherrill 5 months ago

  • Subject changed from Unable to filter/search http-proxies using Organization/Location for UI. to Unable to filter/search http-proxies using Organization/Location for UI.
  • Pull request https://github.com/Katello/katello/pull/8530 added

#3 Updated by Brad Buckingham 5 months ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8530)

Removed reference to katello PR as recommendation was to create a katello redmine for that change.

The katello redmine is : https://projects.theforeman.org/issues/28792

#4 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.0.0 added

#5 Updated by Brad Buckingham 5 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker 4 months ago

  • Category set to Organizations and Locations

Also available in: Atom PDF