Actions
Refactor #28890
openRemove orgId() and consume org data from Foreman
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.
Actions