Bug #28751
closedAn admin cannot GET subscription/manifest uploaded in org created by another admin
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1787147
Description of problem:
An Admin cannot access / GET subscription uploaded by him in org, where the org is created by another admin.
Version-Release number of selected component (if applicable):
Satellite 6.7 snap 7
How reproducible:
Always
Steps to Reproduce:
1. Create an Admin user from SuperAdmin.
2. Create an org using the new Admin user.
3. Using SuperAdmin. Upload the manifest with some subscription in org created by an admin user.
4. Attempt to API GET the subscription from SuperAdmin or new Admin.
Actual results:
The GET request fails with error:
"errors":["This subscription is not relevant to the current user and organization."
Expected results:
Admins should be able to access the subscriptions created by another admin or in org created by another admin.
Additional info:
Updated by Chris Roberts almost 5 years ago
- Subject changed from An admin cannot GET subscription/manifest uploaded in org created by another admin to An admin cannot GET subscription/manifest uploaded in org created by another admin
- Assignee set to Jeremy Lenz
- Target version set to Katello 3.15.0
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8520 added
Updated by The Foreman Bot almost 5 years ago
- Fixed in Releases Katello 3.16.0 added
Updated by Jeremy Lenz almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|844f3c244196ba9f5ea991ab16bd9f1778ba06b2.