Bug #6494
closedroles API shall access foreman roles (not katello roles)
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1102816
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
Updated by Tomáš Strachota over 10 years ago
- Status changed from New to Ready For Testing
Updated by Tomáš Strachota over 10 years ago
- Is duplicate of Bug #5979: remove katello roles and permissions routes and apipie added
Updated by Tomáš Strachota over 10 years ago
- Status changed from Ready For Testing to Closed
It's a duplicate of #5979. I'm closing this one.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13