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
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.
Created redmine issue http://projects.theforeman.org/issues/6494 from this bug
*** This bug has been marked as a duplicate of bug 1102407 ***