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

Admin endpoint for updating is_paid and is_eligible #157

Open
michael-beaver opened this issue Apr 6, 2018 · 2 comments
Open

Admin endpoint for updating is_paid and is_eligible #157

michael-beaver opened this issue Apr 6, 2018 · 2 comments

Comments

@michael-beaver
Copy link
Contributor

This shouldn't be too bad, we just need an endpoint that checks to see if the user calling it is an admin, and then lets them update a specific user's paid status and eligibility

@michael-beaver
Copy link
Contributor Author

It might be best if this was just something like a PUT on /admin/:userId and the admin could just pass in what they want to edit, and for now it would just be the is_paid and is_elligible fields

@renodubois
Copy link
Contributor

I think this is mostly done via #163 ? I know that doesn't explicitly change is_paid (since it doesn't exist currently) but it lays the groundwork enough to close this issue, I'd say.

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

4 participants