-
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
fix: missing advance_settings_access template variable #32097
fix: missing advance_settings_access template variable #32097
Conversation
Thanks for the pull request, @0x29a! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
c5962d2
to
b9d528e
Compare
self.non_staff_client, _ = self.create_non_staff_authed_user_client() | ||
|
||
self.non_staff_client, self.nonstaff = self.create_non_staff_authed_user_client() | ||
CourseStaffRole(self.course.id).add_users(self.nonstaff) |
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.
Can we add a reason why we are doing this?
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.
Done.
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 tested this on devstack and read through the tests.
- ✅ I read through the code
- ❌ I checked for accessibility issues
- ❌ Includes documentation
- ❌ I made sure any change in configuration variables is reflected in the corresponding client's
configuration-secure
repository.
938c906
to
84bedd0
Compare
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 skimmed through the code and it looks good. I couldn't test it personally because I was running errors building devstack locally but since @farhaanbukhsh has tested it already I'd pass on that.
Just a typo fix suggested.
common/djangoapps/student/auth.py
Outdated
If DISABLE_ADVANCED_SETTINGS feature is enabled, only Django Superuser | ||
or Django Staff can access "Advanced Settings". | ||
|
||
By defeault, this feature is disabled. |
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.
By defeault, this feature is disabled. | |
By default, this feature is disabled. |
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.
Thanks, fixed.
84bedd0
to
50854df
Compare
Thanks a bunch @arslanashraf7 |
@0x29a I have added one last nit, please address that and squash your commits :) |
Co-authored-by: Farhaan Bukhsh <[email protected]>
64c7201
to
a32a49c
Compare
@0x29a 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR has been deployed to the production environment. |
Description
Fixes the bug introduced in #32015.
To reproduce it, open any studio page, like
<STUDIO>/settings/grading/<COURSE_ID>
and open theSettings
dropdown. You won't see theAdvanced Settings
button there. It's visible only at theCourse Outline
page.Testing instructions
Check that
Advanced Settings
button is visible at any Studio page.Notes
Merging this makes the revert PR (#32062) redundant.
private-ref