-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Added staff and instructor roles on ccx to all the staff and instructors of the master course plus fixed view as student masquerade and display name of ccx on coach dashboard #10877
Conversation
Thanks for the pull request, @amir-qayyum-khan! I've created OSPR-1007 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here. |
9891354
to
42e2f1d
Compare
@amir-qayyum-khan as indicated in mitocw#126 users with the instructor/admin role need to be enrolled in the CCX as well as those with the staff role. It looks like you will need to do that explicitly. |
b227b3c
to
35592a0
Compare
@pdpinch Done and rebased |
bfcdb54
to
2b50955
Compare
@amir-qayyum-khan I've found another issue with this. Giving master course staff access to the CCX as staff makes the CCX appear in their studio listing. Even worse, the overridden display-name isn't used. If there's an easy way to do it, I think we should suppress the display of CCXs in the studio listing. I think that would have to be a separate PR. Can you look into this? An alternative would be to apply the display_name override, but that would still have the issue of polluting the studio listing with potentially hundreds of CCXs. I'm changing the title to WIP because I don't think this should be merged until this is resolved. |
2b50955
to
43db3ed
Compare
Done @pdpinch |
43db3ed
to
0f13f9c
Compare
0f13f9c
to
3bede57
Compare
d222ca9
to
a64bc9a
Compare
Done @giocalitri |
a64bc9a
to
a4ed79b
Compare
# ignore deleted or errored courses | ||
|
||
# Custom Courses for edX (CCX) is an edX feature for re-using course content. | ||
# # CCXs cannot be edited in Studio (aka cms) and should not be shown in this dashboard. |
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.
Nit: Extra #
.
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.
fixed
a4ed79b
to
d88bb73
Compare
jenkins run js |
|
||
# Create instructor account | ||
self.coach = coach = AdminFactory.create() | ||
self.client.login(username=coach.username, password="test") |
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.
Nit: Remove the extra coach
and change to username=self.coach.username
.
My first pass is complete. @edx/devops Please review the data migration in this PR. |
eeeee5b
to
f46afcf
Compare
…gration for existing ccx courses.
f46afcf
to
91bf48f
Compare
@amir-qayyum-khan can you add a comment(s) telling us what you've changed most recently -- or, in the future, you can add another commit so the reviewers can do a diff. If you go that route, you'd have to squash before the merge. |
Oh, I squashed commits after this message https://github.com/edx/edx-platform/pull/10877#issuecomment-184751615,
|
👍 on the migration from DevOps |
👍 from me. @doctoryes and @giocalitri did Amir address all your concerns? |
Yes - 👍 |
👍 also from me |
…e_staff_in_ccx Added staff and instructor roles on ccx to all the staff and instructors of the master course plus fixed view as student masquerade and display name of ccx on coach dashboard
Background
fixes mitocw#126, mitocw#155 and mitocw#115
What is done in this PR
Studio Updates:
LMS Updates:
@pdpinch @giocalitri @pwilkins
Fixed view as student
Fixed display name of ccx on coach dashboard.