Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1461831 - Unable to upload package to repo by non-admin user
Summary: Unable to upload package to repo by non-admin user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Walden Raines
URL:
Whiteboard:
Depends On:
Blocks: 1478066
TreeView+ depends on / blocked
 
Reported: 2017-06-15 12:23 UTC by Andrii Balakhtar
Modified: 2019-04-01 20:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1478066 (view as bug list)
Environment:
Last Closed: 2018-02-21 16:43:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
task errors (9.46 KB, text/plain)
2017-06-15 12:23 UTC, Andrii Balakhtar
no flags Details

Description Andrii Balakhtar 2017-06-15 12:23:43 UTC
Created attachment 1288051 [details]
task errors

Description of problem:
Attempt to upload a package to yum repo by non-admin user with enough permissions fails with error:
Error during upload: Task 57d546a7-d284-43c7-9f76-46aee285c38f: ActiveRecord::RecordNotFound: Couldn't find User with 'id'=44 [WHERE (users.id IN (26,18,2,24,28,42,4,1,43,3))]

Version-Release number of selected component (if applicable):
Satellite 6.3 Snap 2

How reproducible:
Always

Steps to Reproduce:
1.Create role with all Product/Repository permissions
2. Create user with mentioned Role
3. Attempt to upload any package to any yum repo

Actual results:
Following error is shown:
Error during upload: Task 57d546a7-d284-43c7-9f76-46aee285c38f: ActiveRecord::RecordNotFound: Couldn't find User with 'id'=44 [WHERE (users.id IN (26,18,2,24,28,42,4,1,43,3))]

Expected results:
Package upload was successful

Additional info:

Comment 6 Walden Raines 2017-08-03 14:06:11 UTC
This works now but the messaging isn't there, see bug #1478066

Comment 7 Walden Raines 2017-08-03 14:06:35 UTC
(In reply to Walden Raines from comment #6)
> This works now but the messaging isn't there, see bug #1478066

Sat 6.3.0 snap 9

Comment 8 Bryan Kearney 2018-02-21 16:40:46 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336

Comment 9 Bryan Kearney 2018-02-21 16:43:20 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336

Comment 10 Satellite Program 2018-02-21 16:44:36 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.