Engine: current_organization support
Whenever a user accesses a page in the Katello UI, they are doing so within the context of an organization. That organization is currently stored in the user's session.
As Katello moves towards becoming an engine, the support for current_organization needs to be altered.
The following are a few initial things that need to be done:
- katello organization needs to become an extension of the core (foreman) organization
- current_organization should probably be determined from foreman's Organization.current