rdmo
rdmo copied to clipboard
Add copy project functionality and refactor project hierarchy validation
This PR adds the possibility to copy projects. There is a new ProjectCopyView
and a copy
action in the ProjectViewSet
. To make it work a new ProjectParentValidator
needs to be added, since the old way to prevent that a project is set to be a child of itself was not flexible enough. Some tests needed to be added and fixes as well.