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

/grouped endpoint doesn't accept ?admin parameter #3636

Open
shaunanoordin opened this issue Jul 15, 2021 · 0 comments
Open

/grouped endpoint doesn't accept ?admin parameter #3636

shaunanoordin opened this issue Jul 15, 2021 · 0 comments

Comments

@shaunanoordin
Copy link
Member

Minor API issue

SUPER MINOR and only applies to a niche use case.

Attempting to open Galaxy Zoo: Weird & Wonderful's Classify page while logged in with admin mode switched on will result in the classifier giving up.

  • GZ:W&W uses the /grouped endpoint for its experimental Subject Group subject type.
  • The https://www.zooniverse.org/api/subjects/grouped endpoint throws an error if it's passed an ?admin=true (or admin=1 ?) parameter.
  • ?admin param isn't whitelisted for the /grouped endpoint, I think.

Status

Very low priority, does not affect any of our users, and does not impact development. This issue is mostly a footnote for records. Workaround is to simply disable admin mode.

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