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

Can't remove a project collaborator talk roles #4534

Closed
camallen opened this issue Apr 23, 2018 · 2 comments
Closed

Can't remove a project collaborator talk roles #4534

camallen opened this issue Apr 23, 2018 · 2 comments

Comments

@camallen
Copy link
Contributor

Expected behavior

Unchecking the collaborator checkbox should remove the 'collaborator' role in panoptes and the 'admin' role for the talk project section.

Current behavior

Failure to remove with error
screen shot 2018-04-23 at 09 31 55

Can't re-add as the admin talk role for this project already exists
screen shot 2018-04-23 at 09 31 20

Steps to replicate

Add a collaborator role to a project, uncheck the role in the UI. Panoptes roles work fine but the talk roles (separate roles in the talk api) do not update.

@eatyourgreens
Copy link
Contributor

Any tips on how to debug this? I'm not seeing any JavaScript errors when I remove a collaborator. Is the error generated by PFE or by the Talk API Rails app? I don't see any failing API calls in the network requests either.

@eatyourgreens
Copy link
Contributor

nvm, I think the error is being generated in the JavaScript client. I don't think query is defined here. https://github.com/zooniverse/json-api-client/blob/48426c58de25073142878d81f69ea5383f7f10c2/src/resource.coffee#L100-L101

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

No branches or pull requests

2 participants