Bug 1132241 - [GUI over REST API gaps] public (anonymous) queries
Summary: [GUI over REST API gaps] public (anonymous) queries
Keywords:
Status: CLOSED DUPLICATE of bug 1009843
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.6.0
Assignee: Juan Hernández
QA Contact: Shai Revivo
URL:
Whiteboard: infra
Depends On:
Blocks: 1132506
TreeView+ depends on / blocked
 
Reported: 2014-08-21 01:28 UTC by Einav Cohen
Modified: 2016-02-10 19:38 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-02 09:42:15 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.