ISO-27001-Risk-Management/risks
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
..
migrations Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
templatetags feat: Enhance risk management templates and styles with improved user display, control status labels, and responsive design elements 2025-09-10 10:49:14 +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
admin.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
apps.py Refactor risk management application with enhanced localization, user authentication, and UI improvements 2025-09-09 14:25:59 +02:00
audit_context.py feat: Enhance risk management application with user auditing and improved incident handling 2025-09-09 12:00:29 +02:00
middleware.py feat: Enhance risk management application with user auditing and improved incident handling 2025-09-09 12:00:29 +02:00
models.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
serializers.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
signals.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
tests.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
urls.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
utils.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00
views.py Add risk status and notification preferences 2025-09-10 11:54:08 +02:00