openedx/openedx-platform

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

オープン

#32,892 opened on 2023/08/01

 (13 件のコメント) (0 件のリアクション) (1 人の担当者)Python (4,331 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (8,150 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド