panoptes icon indicating copy to clipboard operation
panoptes copied to clipboard

/grouped endpoint doesn't accept ?admin parameter

Open shaunanoordin opened this issue 3 years ago • 0 comments

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.

shaunanoordin avatar Jul 15 '21 15:07 shaunanoordin