Add signal to automatically set group permissions when groups are added to an object.
Fix a missing import.
Fix the group select box on the upload form.
Populate groups in permissions input element.