Skip to content
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

Retrieving models/tests by alias doesn't work for all users #340

Open
apdavison opened this issue Jun 7, 2023 · 1 comment
Open

Retrieving models/tests by alias doesn't work for all users #340

apdavison opened this issue Jun 7, 2023 · 1 comment

Comments

@apdavison
Copy link
Member

This is because retrieving by alias uses queries that are stored in the "model" space, and so only accessible to model curators.

This may be fixed in future, i.e. released queries will be executable by anyone (Oli said: "technically speaking, queries are indeed normal resources and therefore can be released and are readable for the end user e.g. through the instances api - but we need to review the queries endpoint to make the query execution happening (so far we've always assumed queries to be read from "in progress" in a Slack conversation, early March 2023).

For now, the best solution would probably be to generate the queries (or read from file) within the VF API.

@apdavison
Copy link
Member Author

The workaround until this is fixed is to retrieve by ID

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

No branches or pull requests

1 participant