Details
Description
The idea is to create a new plugin type directory in /admin/. Plugins would be similar to current environment check (XML, strings and some custom code).
spam overview plugin: it would go through all settings that allow ppl to spam (like force login for profiles, self registering) and display list of all potential problems with some detailed description and some links to solutions
security overview plugin: this would replicate the checks we have in admin/index.php; list all accounts with do anything, verify https cookie security, etc.
privacy reports: these would be probably country specific because each country or school type is regulated by different laws. There are two possible solutions - either create new plugin for each different type/country or store the report definition as XML in moodledata - the second solution would allow us to download the definitions for central server.
Petr, if you do this, it would be a great to incorporate everything from admin/health.php too - you new plugin system should be able to do everything that does and more.
Would it be better to have a single sort of 'check' plugin, for the sake of simplicity, but have each one choose which reports it wants to be included in as a setting? Or perhaps that is actually more complicated.