Adds an option to not allow already copied assignments from
being copied again
Assignment groups that contain a frozen assignment can not
be deleted
When an assignment is copied that didn't have the flag set
to be frozen, the copied flag isn't set. This allows the
assignment to be locked in the new course, but still edited
Test Plan:
* In the plugin settings for assignment freezer check the option to not allow assignments to be copied twice
* Create an assignment and flag it to be frozen
* Copy the course, verify it is frozen
* Try to copy the course again as a non-admin - The frozen assignments should not be copied
* As a teacher try to delete an assignment group for a frozen assignment. The trash can should not appear
* Copy an assignment that is flagged to be frozen
* In the new course, you should be able to set the flag and still edit the assignment
closes#8736#8549#8537
Change-Id: Ia3f1be4d5c1b6112507338df7e5a49dd76a5ed7f
Reviewed-on: https://gerrit.instructure.com/10995
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>