Skip to content

endpoint to give users access to courses #30

@merveillevaneck

Description

@merveillevaneck

both teachers and admins can create courses. these courses should not automatically be visible in available courses. this is not wether the course can be subscribed to. this is completely preventing the course from being visible to any student whatsoever, irrespective of the ability to subscribe.

the rules governing what is a subscribable course are as follows: a user that has been given access to a course, can subscribe to said course only from the app, if that course has been marked as published by an admin. i.e. the following points determine course eligibility for now:

  • is the course published (is it still being edited or not)
  • is the course within the available courses for a user (has the user been given access to the course)
  • has the user subscribed to the course

what we care about for this ticket is just being given access to the course

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions