Bug 1132241

Summary: [GUI over REST API gaps] public (anonymous) queries
Product: Red Hat Enterprise Virtualization Manager Reporter: Einav Cohen <ecohen>
Component: ovirt-engine-restapiAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED DUPLICATE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: acathrow, amureini, bazulay, ecohen, gklein, iheim, oramraz, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-02 09:42:15 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:
Bug Depends On:    
Bug Blocks: 1132506    

Description Einav Cohen 2014-08-21 01:28:07 UTC
there isn't anything parallel to RunPublicQuery in the rest api today. 
this is needed for moving the GUI to work over REST API for things like getting the list of domains to display in the "Domain" drop-down in the login page. 

[maybe should be implemented in a separate end-point]

Comment 1 Allon Mureinik 2014-08-24 07:05:11 UTC
My two cents: 
runPublicQuery shouldn't exist at all. There should be an additional value in org.ovirt.engine.core.common.queries.VdcQueryType.VdcQueryAuthType - Public, which org.ovirt.engine.core.bll.QueriesCommandBase#validatePermissions() should evaluate before even checking if the user is logged in.

Comment 2 Juan Hernández 2014-09-02 09:42:15 UTC

*** This bug has been marked as a duplicate of bug 1009843 ***