-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add applied control duplication #940
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Use a slot for duplication button inside the DetailView
- Add a checkbox to bring the evidence if needed
We don't need a to use a slot now, the code can be easily adapted to add duplication for other objects. |
4db9c47
to
f710de5
Compare
6daaf06
to
6ccdfbe
Compare
backend/core/views.py
Outdated
) | ||
duplicate_applied_control.save() | ||
|
||
return Response({"results": "applied control duplicated"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's return the actual controls as JSON
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…AppliedControlReadSerializer Backend formatter
1237413
to
2cd22e5
Compare
Pensez au squash au moment du merge |
46c272a
to
9a555ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.