[Feature:System] Add Self Registration Courses#10778
Conversation
… self_register course
williamjallen
left a comment
There was a problem hiding this comment.
The changes look pretty good overall here. I did a preliminary review, but stopped after leaving comments about potential schema changes. Once those comments are resolved, I'll do a more thorough code review.
DarthNyan
left a comment
There was a problem hiding this comment.
Questions answered. Looks good to me.
chenjohnny-cs
left a comment
There was a problem hiding this comment.
Self registration worked fine on my local machine. I could enable/disable self registration, it wouldn't allow for other users registered for the class already to join and all of the features seem to be there. Haven't taken a look at the code yet, but the functionality seems fine for now.
### Please check if the PR fulfills these requirements: * [ ] Documentation has been updated/added if relevant ### What is the current behavior? Currently there are no courses, or way to make courses archived with the Setup Sample Courses scripts. #10778 required a sample archived course to verify during testing where the Self Registration courses show up on the My Courses page. ### What is the new behavior? A sample Archived course has been added, and the setup sample courses scripts have been updated to allow for archiving courses. --------- Co-authored-by: Williams Chen <[email protected]>
williamjallen
left a comment
There was a problem hiding this comment.
Code looks good to me once the comments I left inline are addressed.
This PR adds documentation for Submitty/Submitty#10778, which adds the ability for users to register for courses if the instructor enables it in the Course Settings page.
Please check if the PR fulfills these requirements:
Related to #3950
What is the current behavior?
Submitty only allows for Instructors to add users manually to each course, which requires a few steps, and if the instructor is busy, they may not add the student for a while.
What is the new behavior?
This is also related to #10097, which in combination will allow for users to create an account, and join courses on their own.
In order to create a Self Registration course, you have to go to
Course Settings, scroll all the way down to theDanger Zone, and check theEnable Self Registrationbox, and then go toManage Sections, and check a radio button underDefault Section, and then clickSubmit. Users who are not already in the course will see it under 'My Self Registration Courses'.