The "Filtered course list" block (https://moodle.org/plugins/block_filtered_course_list) displays courses that a user has (potential) access to. The courses are filtered by criteria an admin designates and grouped into collapsible rubrics according to those criteria. An admin can also designate the initial state of each rubric: expanded or collapsed.
- What is the best way to keep track of rubric states, ideally just for the duration of a session?
- Depending on #1, what are the GDPR implications?
- Adding it to the global SESSION variable.
- As a "Persistent" (https://docs.moodle.org/dev/Persistent), though I don't really want the state to outlive a session.