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.

貢獻者指南