Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1398574

Summary: Create repository button is not visible for non admin user
Product: Red Hat Satellite Reporter: Ranjan Kumar <rankumar>
Component: API - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.2CC: abalakht, bbuckingham, howey.vernon, jcallaha, mhulan
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:43:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ranjan Kumar 2016-11-25 10:38:16 UTC
Description of problem:
>> Create repository button is not visible for not admin user

Version-Release number of selected component (if applicable):
6.2.2

Steps to Reproduce:
>>
1. Create a non-admin user and assign role with filter  "Resource type: Product and repositories"

# hammer role filters --name  testrole
----|----------------------|--------|------------|----------|---------------------------------------------------------------------------------
ID  | RESOURCE TYPE        | SEARCH | UNLIMITED? | ROLE     | PERMISSIONS                                                                     
----|----------------------|--------|------------|----------|---------------------------------------------------------------------------------
169 | Katello::Product     | none   | no         | testrole | view_products, create_products, edit_products, destroy_products, sync_product...
----|----------------------|--------|------------|----------|---------------------------------------------------------------------------------

2.  Try to login with non-admin user and go to Satellite webui >> Content >> Products >> Select product  
Create Repository link is missing here

Expected results: Non admin user should be able to see "Create Repository"

Comment 1 Bryan Kearney 2016-11-25 11:16:25 UTC
Upstream bug component is API - Content

Comment 2 Bryan Kearney 2016-11-28 17:16:41 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17481 has been resolved.

Comment 4 Andrii Balakhtar 2017-07-12 14:05:33 UTC
Verified by automation on Sat6.2.10
Non-admin user with 'product and repositories' permissions can see the 'Create Repository' button and can create a repo.

Comment 5 Andrii Balakhtar 2017-07-12 14:06:17 UTC
(same on Sat6.3 Snap 5)

Comment 6 Bryan Kearney 2018-02-21 16:40:48 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 7 Bryan Kearney 2018-02-21 16:43:26 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 8 Satellite Program 2018-02-21 16:51:07 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