openedx/openedx-platform

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

开放

#32,892 创建于 2023年8月1日

 (13 条评论) (0 个反应) (1 位负责人)Python (4,331 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (8,150 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

@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.

贡献者指南