Project

General

Profile

Refactor #28890

Remove orgId() and consume org data from Foreman

Added by Jeremy Lenz over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Branch:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

In webpack/services/api/index.js, a function called orgId() gets the current organization from a DOM attribute. Need to stop doing this and consume the data from a place that makes more sense.

Once https://github.com/theforeman/foreman/pull/7139 is merged, Katello could consume the org data from React context and have a single reliable source of truth for this data.

Alternatively, see also issue #28809 which suggests we move the Organization part of Katello's Redux store to Foreman.


Related issues

Related to Katello - Refactor #28809: Move react organizations handling to foremanNew

History

#1 Updated by John Mitsch over 2 years ago

  • Assignee deleted (Thomas McKay)

#2 Updated by John Mitsch over 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello Backlog
  • Assignee set to Jeremy Lenz

#3 Updated by Jeremy Lenz over 2 years ago

  • Parent task deleted (#28809)

#4 Updated by Jeremy Lenz over 2 years ago

  • Related to Refactor #28809: Move react organizations handling to foreman added

Also available in: Atom PDF