New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST api should not use current logged in user session #124

Closed
ypujante opened this Issue Feb 14, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@ypujante
Member

ypujante commented Feb 14, 2012

Steps to reproduce:

log in to the console as glua/password
load a model and set a filter by clicking on a link (the dashboard now shows a subset of the model)
use the rest api (same user) and query the model:

curl -u "glua:password" "http://localhost:8080/console/rest/v1/glu-dev-1/model/live?prettyPrint=true"

note that the same filter used in the ui is applied to the query.

REST should be using the systemFilter parameter to provide a filter and when there isn't one then it should be the full unfiltered model.

@ghost ghost assigned ypujante Feb 16, 2012

@ypujante

This comment has been minimized.

Member

ypujante commented Feb 16, 2012

Fixed with 4.2.0

@ypujante ypujante closed this Feb 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment