- Remove hardcoding of the "jenkins" organization from the UI
- Known places that hardcode:
- Loading user info - Deprecate the root user API /rest/users and update references to use /rest/organizations/$org/users/
- Dashboard - Make /rest/search/ require organization as a parameter.
- New Pipeline button
- credential API needs to be re-scoped under /rest/organizations/$org
- SCM API needs to be re-scoped under /rest/organizations/$org
- Update ATH to run blue ocean with a random organization name
This ticket may uncover frontend work. The UI needs to remove all uses of hardcoded 'jenkins' organization and work with HAL links. This is extremely important and goes long way to make UI work with whatever backend says in terms of where to find resources.
Discovering hard coded organizations
- Update the default organization name to be "blue-ocean"
- Run the tests and ATH against the branch and find test failures