Bug 1273642
| Summary: | Can't grant users permission to promote a content view | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
| Component: | Content Views | Assignee: | Katello Bug Bin <katello-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbuckingham, cwelton, jyejare, lpramuk |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 09:19:56 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
Justin Sherrill
2015-10-20 20:45:33 UTC
The scenario appears to partially work on the upstream today: Assuming that the user has the role/permissions mentioned in the initial description as well as the following: - Filter resource: Content Views - Permissions: view_content_views - Filter resource: Lifecycle Environments - Permissions: view_lifecycle_environments The user is able to access the 'Promote' button from Content -> Content Views -> [view] -> Versions. They can then select an environment and initiate the promotion. One issue that does remain is that the progress of the promotion is not accessible to the user as foreman_tasks/api/tasks/bulk_search is not allowed. The issue noted in comment #2 related to bulk search can be addressed by adding the following additional filter/permission: - Filter resource: Foreman tasks/task - Permission: view_foreman_tasks This bug is currently aligned to Satellite 6.2. Based on comments #2 and #3, the behavior appears to be working on the upstream; therefore, going to move this bug to POST for verification once the downstream branches are rebased. Note: When running the same test against Satellite 6.1.5 an error is observed in the UI attempting the promotion. The error there should look like: Validation failed: Organization ids Invalid organizations selection, you must select at least one of yours Verified ! @Sat 6.2 Snap 9.3 The promote button is visible and also I am able to promote the CV version for the user with role having permissions promote_or_remove_content_views, publish_content_views and promote_or_remove_content_views_to_environments. So moving this to verified. 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/RHBA-2016:1501 |