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

Tweak admin permissions for ProjectPreferences update_settings #4249

Closed
wants to merge 1 commit into from

Conversation

lcjohnso
Copy link
Member

Tweaking #4218 -- run is_admin? check on api_user instead of user so that an admin flag is required in the request, not just that the user has admin privlidges. This allows for non-admin use of API endpoint by Zoo team members.

My initial commit is going to break the spec, and I could use assistance in correcting the test. Not sure if there's a standard case / method of testing for admin flag use.

@lcjohnso
Copy link
Member Author

Closing in favor of #4257

@lcjohnso lcjohnso closed this Oct 17, 2023
@lcjohnso lcjohnso deleted the projpref-tweakadmin branch October 17, 2023 22:29
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

Successfully merging this pull request may close these issues.

1 participant