Project

General

Profile

Bug #28751

An admin cannot GET subscription/manifest uploaded in org created by another admin

Added by Jeremy Lenz 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

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:

Associated revisions

Revision 844f3c24 (diff)
Added by Jeremy Lenz 5 months ago

Fixes #28751 - Allow admin users to access subs
from all organizations

History

#1 Updated by Chris Roberts 5 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.15.0
  • Assignee set to Jeremy Lenz
  • 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

#2 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8520 added

#3 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases Katello 3.16.0 added

#4 Updated by Jeremy Lenz 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF