Red Hat Bugzilla – Bug 848767
User login filter problem - REST API
Last modified: 2016-02-10 14:26:28 EST
Description of problem:
Can't login as a user via REST API.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a user and assgin it a role which is not SuperUser.
2. Try to connect via REST API with this user.
<detail>query execution failed due to insufficient permissions.</detail>
User should connect.
Problem is only with url OVIRTENGINE:PORT/api
For example if I try connect with user who has UserVmManager role and try to
connect with curl:
#$ curl -X GET -u user@domain:pass http://url/api/vms
I get list of vms. So the problems seems to be only with /api
Because if I try to do this command:
#$ curl -X GET -H "Filter: true" -u user@domain:pass http://url/api
I get this error:
<detail>Entity not found: VdcVersion</detail>