Skip to content

Add a field to teacher profiles in Mongo for actual permissions #19

Description

@kwokwilliam

Make it so anyone can make an account through the /v1/teacher POST endpoint.

This admin: true field in the teacher object in Mongo should be all we need to make sure that the user is truly an admin and can remove users and read the queue.

The very first user will need this manually added in Mongo, but the rest should be available to be added through some sort of patch by admins only, perhaps through /v1/teacher/{teacher_id}.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions