Skip to content

API view for user enrollment #27

@payamnj

Description

@payamnj

This API view should be public no session authentication is needed but should be from same-site (CSRF protected)

the payload is user email_address and course_id.
It should:

  • Validate the email
  • Check if the email_address is not already registered
  • Check if the email address is not blocked
  • Create an enrollment object with status unverified and if required a Learner object
  • Should send an email to user with the verification link (If the course has an IMAP connection attached to it also an explanation in the email that instead of clicking on the link, they can send a OTP code to the email address of the connection defined for the course)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions