Thanks to information supplied by Marina Glancy and code by Mary Evans, I have updated Collapsed Topics to:
- Implement its default settings in Moodle itself and not in code so that you can adjust them as a site administrator through the user interface.
- Have custom capabilities so that you can decide who can do what using the standard roles user interface.
The code is only partly tested and as a consequence is in the current development branch - https://github.com/gjb2048/moodle-format_topcoll/tree/MOODLE_24_POWER_TOGGLE - because that has the most up to date code and being the only developer made sence not to bother with future conflicts in my branches.
If you have a development Moodle 2.4.1+ (Build: 20130118) or above and would test it and provide feedback, then that would be appreciated.
Screen shots to follow.