Bug 848767
| Summary: | User login filter problem - REST API | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ondra Machacek <omachace> |
| Component: | ovirt-engine-restapi | Assignee: | Michael Pasternak <mpastern> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondra Machacek <omachace> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | acathrow, bazulay, dyasny, ecohen, iheim, mpastern, Rhev-m-bugs, ykaul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | si16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-04 20:00:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: Can't login as a user via REST API. Version-Release number of selected component (if applicable): How reproducible: always 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. Actual results: <fault> <reason>Operation Failed</reason> <detail>query execution failed due to insufficient permissions.</detail> </fault> Expected results: User should connect. Additional info: 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: <fault> <reason>Operation Failed</reason> <detail>Entity not found: VdcVersion</detail> </fault>