From 0acd1678ea9b5fe5d65242827a2bf331e0999a36 Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Wed, 4 Dec 2024 18:17:20 +0100 Subject: [PATCH] Copy owner when duplicating AppliedControl --- backend/core/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/core/views.py b/backend/core/views.py index 3a22b10c8..8ad80d0c8 100644 --- a/backend/core/views.py +++ b/backend/core/views.py @@ -1180,6 +1180,7 @@ def duplicate(self, request, pk): folder=new_folder, ref_id=applied_control.ref_id, category=applied_control.category, + owner=applied_control.owner, csf_function=applied_control.csf_function, priority=applied_control.priority, status=applied_control.status,