Description of problem: We need the ability to list available permits from the API which on v3 we could find under the capabilities entry point which is no longer there on v4. Version-Release number of selected component (if applicable): python-ovirt-engine-sdk4-4.0.0-0.0.a3.el7ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Go to https://{engine}/ovirt-engine/api/capabilities Actual results: No results are returned Expected results: Results for capabilities are returned
In version 4 of the API the "capabilities" service has been replaced by the new "clusterlevels" service. The permits haven't been added yet. They will be added by the proposed patch, so the will be available with a request like this: GET /ovirt-engine/api/clusterlevels/4.0 The result will contain the following: <cluster_level id="4.0" href="/ovirt-engine/api/clusterlevels/4.0"> <permits> <permit id="1"> <name>create_vm</name> <administrative>false</administrative> </permit> ... </permits> </cluster_level>
SEVERITY?
verified in ovirt-engine-restapi-4.0.2.1-0.1.el7ev.noarch