bitprj / bit-backend

Backend for Bit Project LMS (Learning Management System)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update the decorators to use session instead of jwt tokens

bryanwong8 opened this issue · comments

What feature would you like implemented
Update the decorators to use session instead of jwt tokens with the following decorators.

Decorators
activity_exists_in_student_prog
activity_prog_exists (/activity_progress/decorators.py)
card_is_unlockable (/cards/decorators.py)
checkpoint_progress_exist (/checkpoint_progress/decorators.py)
multiple_choice_is_completed (/mc_choices/decorators.py)
owns_classroom(/classrooms/decorators.py)
has_rsvp (/events/decorators.py)
in_rsvp (/events/decorators.py)
owns_event (/events/decorators.py)
module_is_incomplete (/modules/decorators.py)
module_inprogress (/modules/decorators.py)
module_is_complete (/modules/decorators.py)
exist_in_organization (/organizations/decorators.py)
has_joined_already (/organizations/decorators.py)
owns_organization (/organizations/decorators.py)
can_add_topic (/topics/decorators.py)
can_complete_topic (/topics/decorators.py)
has_completed_topic (/topics/decorators.py)
topic_is_incomplete (/topics/decorators.py)

Create/Update Postman/Documentation
Test in Postman