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

Allow admins to update user project preferences #4198

Closed
lcjohnso opened this issue May 10, 2023 · 1 comment
Closed

Allow admins to update user project preferences #4198

lcjohnso opened this issue May 10, 2023 · 1 comment

Comments

@lcjohnso
Copy link
Member

Current behavior: Only project owners are allowed to edit the settings key for a user's project preferences. Example usage: see Python Client documentation here for workflow leveling up (i.e., for Gravity Spy and others).

Desired behavior: Also allow Zooniverse admins to edit the settings key.

Potential Solution: Add a check for admin as an or condition to this statement:
https://github.com/zooniverse/panoptes/blob/24a67c6f4a56492a56e65170fad89ab3bda4c1e0/app/controllers/api/v1/project_preferences_controller.rb#LL25C73-L25C73

@lcjohnso
Copy link
Member Author

Closed by #4218

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

1 participant