-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Course Teacher going out of sync with Course Lessons #7600
base: trunk
Are you sure you want to change the base?
Conversation
Hi @markcummins! Thanks for the contribution. Could you please address the issues from the PR checks:
As for the changelogger, you need to add a changelog entry. For this purpose,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm adding this formal review comment for internal purposes.
See my previous comment here:
#7600 (comment)
Hi, apologies for not following up on this and thanks for your instructions. I set up the environment properly locally so I could run the tests. This last commit should fix the three tests that were failing. |
Resolves #7599
Proposed Changes
This code syncs the Lesson Author and the Course Author (or Course Teacher). It ensures that the lesson author is the same as the course author, and makes sure that the current Course Teacher is able to access and edit all of the lessons in the course.
Testing Instructions
Before the update, the course teacher would not be able to edit Lesson C, as they would not be the Author of the lesson. After the update, they would be able to edit all the lessons in the course.
Pre-Merge Checklist