ISO-27001-Risk-Management/risks/migrations
Kevin Heyer ab01841cf2 Add risk status and notification preferences
- Introduced a new `status` field to the `Risk` model with choices for "open", "in_progress", "closed", and "review_required".
- Created a `NotificationPreference` model to manage user notification settings for various events related to risks, controls, residual risks, reviews, users, and incidents.
- Updated the admin interface to include `NotificationPreference` inline with the `User` admin.
- Enhanced signal handlers to send notifications based on user preferences for created, updated, and deleted events for users, risks, controls, and incidents.
- Modified the `check_risk_followups` utility function to update risk status and create notifications for follow-ups.
- Updated serializers and views to accommodate the new `status` field and improved risk listing functionality.
- Added a new section in the risk detail template to display related incidents.
- Removed the unused statistics view from URLs.
2025-09-10 11:54:08 +02:00
..
0001_initial.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00
0002_residualrisk.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00
0003_risk_cia.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00
0004_remove_risk_availability_remove_risk_confidentiality_and_more.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00
0005_incidents.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00
0006_rename_incidents_incident.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00
0007_notification.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00
0008_rename_send_notification_sent.py Add FontAwesome webfonts and update templates for Risiko Management 2025-09-07 23:07:56 +02:00
0009_risk_created_at_risk_updatet_at.py feat: Enhance Risk Management Module 2025-09-08 15:03:12 +02:00
0010_alter_residualrisk_impact_and_more.py feat: Enhance Risk Management Module 2025-09-08 15:03:12 +02:00
0011_risk_description.py feat: Enhance Risk Management Module 2025-09-08 15:03:12 +02:00
0012_alter_residualrisk_impact_and_more.py feat: Enhance Risk Management Module 2025-09-08 15:03:12 +02:00
0013_control_created_at_control_updatet_at_and_more.py feat: Enhance risk management application with user auditing and improved incident handling 2025-09-09 12:00:29 +02:00
0014_remove_control_risk_control_risks.py feat: Enhance risk management application with user auditing and improved incident handling 2025-09-09 12:00:29 +02:00
0015_alter_auditlog_changes.py feat: Enhance risk management application with user auditing and improved incident handling 2025-09-09 12:00:29 +02:00
0016_rename_updatet_at_control_updated_at_and_more.py feat: Enhance risk management application with user auditing and improved incident handling 2025-09-09 12:00:29 +02:00
0017_alter_incident_status.py feat: Enhance risk management application with user auditing and improved incident handling 2025-09-09 12:00:29 +02:00
0018_alter_auditlog_options_alter_control_options_and_more.py Refactor risk management application with enhanced localization, user authentication, and UI improvements 2025-09-09 14:25:59 +02:00
0019_alter_incident_options.py Refactor risk management application with enhanced localization, user authentication, and UI improvements 2025-09-09 14:25:59 +02:00
0020_alter_residualrisk_impact_alter_risk_impact.py Refactor risk management application with enhanced localization, user authentication, and UI improvements 2025-09-09 14:25:59 +02:00
0021_risk_status_notificationpreference.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
__init__.py Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00