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 1111070 - Removing a published version from selected environment raises "You are not authorized to perform this action."
Summary: Removing a published version from selected environment raises "You are not au...
Keywords:
Status: CLOSED DUPLICATE of bug 1109386
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-19 08:07 UTC by Tazim Kolhar
Modified: 2016-04-26 00:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-19 14:09:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Delete environment from Version (70.43 KB, image/png)
2014-06-19 08:07 UTC, Tazim Kolhar
no flags Details

Description Tazim Kolhar 2014-06-19 08:07:34 UTC
Created attachment 910282 [details]
Delete environment from Version

Description of problem:
Deleting Lifecycle Environments from Version is UI fails

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


How reproducible:
everytime

Steps to Reproduce:
1.Go to Content -> Content View
2.Select Content View
3.Select Remove Version
4.Select Lifecycle Environment only to delete
5.Click Next . Click Confirm

Actual results:
The deletion fails with a message
 You are not authorized to perform this action. 

Expected results:
The environments are removed from Version

Additional info:
Screen Shot attached

Comment 1 RHEL Program Management 2014-06-19 08:34:41 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Sachin Ghai 2014-06-19 09:17:14 UTC
I tried to remove a published cv version from selected env via admin user and got following message on UI:

"You are not authorized to perform this action."

Admin user is a superuser and superuser should be able to perform this action.


logs from Production.log 

Processing by Katello::Api::V2::ContentViewsController#remove as JSON
  Parameters: {"id"=>"2", "environment_ids"=>[3], "organization_id"=>"1", "api_version"=>"v2", "content_view"=>{"id"=>"2"}}
  Rendered api/v2/errors/access_denied.json.rabl (2.5ms)
Filter chain halted as :authorize_remove rendered or redirected
Completed 403 Forbidden in 79ms (Views: 44.7ms | ActiveRecord: 3.3ms)

Comment 4 Brad Buckingham 2014-06-19 14:09:20 UTC

*** This bug has been marked as a duplicate of bug 1109386 ***


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