A new screen in site admin / project configuration like:
This requires to have a new table to store the information.
Impacts:
- When a widget is disabled, it disappears from all project dashboard. However it's not deleted from the dashboard so if it is re-activated later on, it will popup again.
- As a side effect, if the widget is the only widget in a column, the column will appear empty and it's not possible to delete it without a manual DB clean-up.
- It's far from perfect but it should be a edge case and the cost to manage it the clean way doesn't seem worth it.
- A manual solution for that is to create a new dashboard with the correct configuration and to drop the old one
- When a project is created with a dashboard that contains a disabled widget, the widget is not created at all
- On project creation (duplication from existing project or template)
- On XML import
- The widget cannot be added on dashboard (not available in the list of widgets)