Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 911404[details]
NetworkError: 403 Forbidden - when publishing cv via normal user
Description of problem:
I was trying a scenario where a normal user can publish a CV in a selected org. But when I tried publish, Firebug raises:
"NetworkError: 403 Forbidden - https://dhcp201-161.englab.pnq.redhat.com/foreman_tasks/api/tasks/bulk_search"
bulk_search
production.log says:
Processing by ForemanTasks::Api::TasksController#bulk_search as JSON
Parameters: {"searches"=>[{"type"=>"task", "task_id"=>"b2b834f7-4288-4e8a-90dd-16eee2183e3d", "search_id"=>"1"}], "task"=>{}}
Rendered api/v2/errors/access_denied.json.rabl within api/v2/layouts/error_layout (0.7ms)
Filter chain halted as :authorize rendered or redirected
Completed 403 Forbidden in 16ms (Views: 1.7ms | ActiveRecord: 2.6ms)
Processing by ForemanTasks::Api::TasksController#bulk_search as JSON
Parameters: {"searches"=>[{"type"=>"task", "task_id"=>"b2b834f7-4288-4e8a-90dd-16eee2183e3d", "search_id"=>"1"}], "task"=>{}}
Rendered api/v2/errors/access_denied.json.rabl within api/v2/layouts/error_layout (0.7ms)
Filter chain halted as :authorize rendered or redirected
Completed 403 Forbidden in 17ms (Views: 1.8ms | ActiveRecord: 2.8ms)
Version-Release number of selected component (if applicable):
sat6 beta snap10
How reproducible:
always
Steps to Reproduce:
1. created a role "role1" via admin user
2. added following permissions to "role1"
content-view resource type - create, view and publish CV
Product resource type - view product
activation-key resource type - create, update, destroy, view
Lifecycle env resource type - view
3. created a CV "cv1" via admin and addded a repo to it and published its version1
4. created a user ak1 and assign role1 to this user
5. logout with admin and login with ak1
6. selected 'cv1'
7. started publish
Actual results:
"NetworkError: 403 Forbidden - https://dhcp201-161.englab.pnq.redhat.com/foreman_tasks/api/tasks/bulk_search"
bulk_search
Expected results:
cv should be published. Not sure what I'm missing here. any permission ? If I'm missing any permission then Publish shouldn't be enabled.
Additional info:
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-2015:1592