Bug 1398574 - Create repository button is not visible for non admin user
Summary: Create repository button is not visible for non admin user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API - Content
Version: 6.2.2
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-25 10:38 UTC by Ranjan Kumar
Modified: 2020-06-11 13:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:43:26 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17481 0 None None None 2016-11-25 10:39:55 UTC

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


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