Skip to content

Implement admin users for admin only APIs #20

@mattdowdell

Description

@mattdowdell

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions