apluslms / a-plus

A+ frontend portal - A+ LMS documentation:
https://apluslms.github.io/
Other
68 stars 73 forks source link

Course chapters not accessible in module view #1266

Closed PasiSa closed 1 year ago

PasiSa commented 1 year ago

In the course module view the sub-chapters are shown as not accessible even though they should, see for example here in A+ manual. This seems to relate to the recent modification that applies revel rules to course chapters, and uses the new is_revealed attribute when deciding on chapter accessibility.

This is particularly harmful in situations when a course module is linked as LTI activity (e.g. from MyCourses), because the chapters in the module have become unaccessible.