Bug 1317806 - Not allowed to promote/remove a content view version
Summary: Not allowed to promote/remove a content view version
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.1.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Ondřej Pražák
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-15 09:36 UTC by Kenny Tordeurs
Modified: 2020-03-11 15:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-25 07:49:09 UTC
Target Upstream Version:
Embargoed:
ktordeur: needinfo-


Attachments (Terms of Use)
role_filters (69.14 KB, image/png)
2016-03-15 09:36 UTC, Kenny Tordeurs
no flags Details
no_buttons (43.70 KB, image/png)
2016-03-15 09:36 UTC, Kenny Tordeurs
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13935 0 None None None 2016-03-15 09:36:56 UTC

Description Kenny Tordeurs 2016-03-15 09:36:02 UTC
Created attachment 1136492 [details]
role_filters

Description of problem:
a Role which allows Users to Promote or Remove a version was defined but on the version list page of a Content view, Users can't Promote or Remove a content view version as the buttons are not shown.

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

How reproducible:
100%

Steps to Reproduce:
1.Define a role that allows: publish,promote,deleting of content views
2. Try to delete/promote a content view version with a user that has that role assigned.


Actual results:
Unable to publish,promote,delete content views

Expected results:
Be able to publish,promote,delete content views

Additional info:
Screenshots attached

Comment 1 Kenny Tordeurs 2016-03-15 09:36:27 UTC
Created attachment 1136493 [details]
no_buttons

Comment 2 Bryan Kearney 2016-07-26 19:01:47 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 Satellite Program 2017-01-12 11:10:19 UTC
Upstream bug assigned to oprazak

Comment 4 Satellite Program 2017-01-12 11:10:23 UTC
Upstream bug assigned to oprazak

Comment 5 Ondřej Pražák 2017-01-18 11:37:17 UTC
It turns out the described behaviour is by design. You need to add a filter with resource type 'Lifecycle Environment' and permission promote_or_remove_content_views_to_environments, which restricts environments you are allowed to promote to.

Does this solve the issue for you?

Comment 6 Ondřej Pražák 2017-01-25 07:49:09 UTC
Closing, this is not a bug as per discussion in upstream [1]. I raised an issue to add this to our docs [2]

[1] https://github.com/Katello/katello/pull/6536#issuecomment-272987395
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1416294


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