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 1102816 - roles API shall access foreman roles (not katello roles)
Summary: roles API shall access foreman roles (not katello roles)
Keywords:
Status: CLOSED DUPLICATE of bug 1102407
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Tomas Strachota
QA Contact: Jitendra Yejare
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 15:32 UTC by Tomas Lestach
Modified: 2019-02-25 21:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:43:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6494 0 None None None 2016-04-22 14:55:10 UTC

Description Tomas Lestach 2014-05-29 15:32:32 UTC
Description of problem:
It looks I'm accessing other roles when using roles API than the roles displayed in Sat6 WebUI.

Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140523.0-Satellite-x86_64

How reproducible:
always

Steps to Reproduce:
1.
$ curl -s -H "Content-Type:application/json" -H "Accept:application/json,version=2" -k -u admin:changeme -d'{"role":{"name":"new_role"}}' -X POST http://localhost/katello/api/roles
{"created_at":"2014-05-29T15:29:37Z","updated_at":"2014-05-29T15:29:37Z","id":6,"name":"new_role","locked":false,"description":null}

Actual results:
But I do not see 'new_role' on https://<sat6_fqdn>/roles
Role with id = 6 is: 'View hosts'

Expected results:
roles API access the same roles as displayed on WebUI

Comment 1 RHEL Program Management 2014-05-29 15:57:36 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 Tomas Strachota 2014-07-04 10:33:07 UTC
Created redmine issue http://projects.theforeman.org/issues/6494 from this bug

Comment 4 Tomas Strachota 2014-07-04 13:43:26 UTC

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


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