openedx / openedx/openedx-platform

Hide sections when a learners cohort doesn't have access to the associated content group.

Open
#32,892 13 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.