Description of problem: Version-Release number of selected component (if applicable): si23 How reproducible: always Steps to Reproduce: 1. In webadmin. Create vm 'a' and vm 'b' 2. Add UserVmManager permissions on vm 'a' and vm 'b' for some user. 3. In API search one of vm. Actual results: All vms are return, doesnt matter what users search query look like. Expected results: Only filtered result by query should be returned. Additional info: curl https://url/api/vms?search=id%3Dabc <vms> <vm href="/api/vms/id" id="id">...</vm> <vm href="/api/vms/id" id="id">...</vm> </vms> List instead of search is return for every object.
/id is not a part of engine search language (?search=id%3Dabc), please recheck using /name or similar.
same issue for /name
Also doesn't work https://10.34.63.30/api/templates/id/nics?search=name%3Dnic5 https://10.34.63.30/api/vms/id/disks?search=name%3Dnic5 Much more could be affected. This doesn't work even for admin users.
this is "not a bug". search is not supported for user level api today. michael - is there a way to get a specific vm by its name via user api somehow?
(In reply to comment #4) > this is "not a bug". > search is not supported for user level api today. > > michael - is there a way to get a specific vm by its name via user api > somehow? rnori already working fixing this at Bug 869334. *** This bug has been marked as a duplicate of bug 869334 ***
(In reply to comment #4) > this is "not a bug". > search is not supported for user level api today. > > michael - is there a way to get a specific vm by its name via user api > somehow? only in sdk (using client side filtering).
based on Comment 4.