openedx / openedx/openedx-platform
Hide sections when a learners cohort doesn't have access to the associated content group.
Open
@CefBoud is already working on this.
Since Sep 6, 2023.
enhancement
help wanted
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 42
Description
@MHaton mentioned that Sections are displayed for learners even when the learners cohort and the sections content group specify it's not for them.
Also annoyingly, learners always have access to sections, even when there are no units assigned to them in those sections. This means you'd have to put something in there saying "This isn't for you, move along". It's not ideal.
@ormsbee thought that the same logic that is used to hide subsections could be extend to hide sections. That logic is here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.