openedx/openedx-platform

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

Ouverte

#32 892 ouverte le 1 août 2023

 (13 commentaires) (0 réaction) (1 personne assignée)Python (4 331 forks)auto 404
enhancementhelp wanted

Métriques du dépôt

Stars
 (8 150 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur