Bug 1303816

Summary: Errata incremental update content view not working with non-admin user
Product: Red Hat Satellite Reporter: Kamudini Gazdikova <kshirsal>
Component: Errata ManagementAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.5CC: anerurka, bbuckingham, jcallaha, jyejare, mmccune, pghadge, riehecky, sthirugn, xdmoon, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Fixed In Version: rubygem-katello- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-26 12:25:30 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:
Description Flags
custom role
verification screenshot none

Comment 6 Brad Buckingham 2016-07-31 17:04:21 UTC
Upstream Katello PR: https://github.com/Katello/katello/pull/6217

Note: the permissions needed to perform incremental update include:

- Organization => view_organizations

- Lifecycle Environment => view_lifecycle_environments, promote_or_remove_content_views_to_environments

- Content Views => view_content_views, publish_content_views, promote_or_remove_content_views

- Host => view_hosts, edit_hosts

Comment 9 jcallaha 2016-10-13 19:53:23 UTC
Verified in Satellite 6.2.3 Snap 3.

Setup a role with the permissions outlined in #6. See attached.
Created two content views, one without errata filters, one with.
Registered a host to the filtered content view.
Switched to testuser (with custom permissions role)
Applied errata to host, incrementally updating the filtered content view (see attached for verification)

Comment 10 jcallaha 2016-10-13 19:55:39 UTC
Created attachment 1210249 [details]
custom role

Comment 11 jcallaha 2016-10-13 19:55:58 UTC
Created attachment 1210250 [details]
verification screenshot

Comment 13 errata-xmlrpc 2016-10-26 12:25:30 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.