Bug #34541
closedCDN loading error for non-admin user and non-default org
Description
Description of problem:
An errors occurs at the downstream Satellite when updating the Upstream Foreman server with non-admin user and non-default org provided.
Version-Release number of selected component (if applicable):
7.0.0 snap 9
How reproducible:
always
Steps to Reproduce:
1. Have an upstream Satellite with non-default org created (optionally with uploaded manifest and synced RH repos).
2. In this Satellite create a role with these permissions:
view_products, view_organizations, edit_organizations
3. Within the non-default organization create a non-admin user and assign the role from 2. to him.
4. On the downstream Satellite create the SSL CA Content Credential for the Default organization (wget cert + hammer content-credentials create).
5. In the downstream Satellite's UI go to Content > Subscription > Manage Manifest > CDN Configuration > Upstream Foreman server and provide all fields:
URL: <url of the upstream SAT>
Username: <user from 3.>
Password: <his pass>
Organization label: <the non-default org from 1.>
LCE label: Library
CV label: Default_Organization_View
SSL CA CC: <the one created in 4.>
6. Click Upload
Actual results:
An error occurs:
CDN loading error: https://<UPSTREAM_SAT_FQDN>:443/katello/api/v2/organizations/3/download_debug_certificate not found
Expected results:
no errors
Additional info:
When you provide the user from point 3. with Admin rights on the upstream Satellite, the upload passes without errors.
Updated by The Foreman Bot almost 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/9994 added
Updated by Samir Jha over 2 years ago
- Subject changed from CDN loading error for non-admin user and non-default org to CDN loading error for non-admin user and non-default org
- Target version set to Katello 4.3.2
- Triaged changed from No to Yes
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Katello 4.5.0 added
Updated by Samir Jha over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|27a343cba07cedc39307e2d7825632dca392e9f8.
Updated by Chris Roberts over 2 years ago
- Target version changed from Katello 4.3.2 to Katello 4.3.1
- Difficulty set to medium
Updated by Chris Roberts over 2 years ago
- Target version changed from Katello 4.3.1 to Katello 4.3.2
Updated by The Foreman Bot over 2 years ago
- Pull request https://github.com/Katello/katello/pull/10043 added