Skip to content

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

@kwokwilliam

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

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