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

Implement admin users for admin only APIs #20

Open
3 of 4 tasks
mattdowdell opened this issue Nov 8, 2016 · 0 comments
Open
3 of 4 tasks

Implement admin users for admin only APIs #20

mattdowdell opened this issue Nov 8, 2016 · 0 comments

Comments

@mattdowdell
Copy link
Contributor

mattdowdell commented Nov 8, 2016

There is currently an admin-only API at /v1/admin/devices for creating new devices in the database. However, this is currently unrestricted.

  • Implement admin column in users table (55ce4b7).
  • Implement a way to grant admin to users.
  • Add checks to admin controllers to require the user is an admin (55ce4b7).
  • Add tests (55ce4b7).
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

1 participant